cocoapods

Cocoa Pods Error ld: library not found for -lPods

五迷三道 提交于 2019-11-30 08:37:10
问题 I'm getting a error from cocoa pods that I've never seen before. I've had it working with several dependencies just fine. I recently added the TestFlightSDK as a dependency through pods and I'm unable to Archive the project. It builds just fine to devices but refuses to Archive. Has anyone else experienced this issue? ld: library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see invocation) My Library Search Paths looks like this (for both debug and

Cocoapods use_frameworks! import issue

北城以北 提交于 2019-11-30 08:21:11
I want to use some Swift pods in my Objective-C app, so I need to use frameworks instead of static libraries. But enabling use_frameworks! in my Podfile causes tones of #import errors. My Podfile: platform :ios, '8.0' use_frameworks! pod 'AFNetworking', '2.6.0' pod 'Typhoon' pod 'SSKeychain' pod 'JBWebViewController' pod 'TTTAttributedLabel' pod 'HockeySDK' pod 'GoogleAnalytics' pod 'Intercom' pod 'FBSDKCoreKit' pod 'FBSDKLoginKit' pod 'UIButton+Activity' pod 'HexColors' pod 'AFNetworkActivityLogger' pod 'HCSStarRatingView', :git => 'https://github.com/hsousa/HCSStarRatingView.git' pod

Project 'Pods' was rejected as an implicit dependency for 'Pods.framework' because its architectures didn't contain all required architectures

风格不统一 提交于 2019-11-30 08:09:47
Target 'AAA-Pods' for project 'Pods' was rejected as an implicit dependency for 'Pods_AAA.framework' because its architectures 'x86_64' didn't contain all required architectures 'i386 x86_64'. This appears as warning, then linker error appears. Possible Solution: Open Xcode project (cocoapods project) using .xc... file. Select Pods project in the project navigator (blue icon on left). Under Project, ensure Pods (blue icon) is selected. Navigate to Build Settings. Set Build Active Architectures Only = No (for both debug & release). Optional: set base sdk to latest iOS (or select the preferred

Alamofire No Such Module (CocoaPods)

喜你入骨 提交于 2019-11-30 08:02:52
Using Xcode 7 I am trying to install Alamofire in a sample project. Have used the instructions from Ray Wenderlich's page Only change from above link is the podfile -- which is from GitHub page here because the version has been updated. I have also used the Swift 2.0 branch. Below is the snapshop of the error, my pod file and my terminal post installing the pod PODFILE TERMINAL P.S: I want to use cocoapods to install Alamofire. I don't want to download it from github page Try this one. For Swift 2.0 there is no need to add Alamofire.xcodeproj into your xcode. Simply copy and paste source

Xcode 10.2 Update issue Build system error -1: Unable to load contents of file list: input/output xcfilelist

泪湿孤枕 提交于 2019-11-30 08:02:05
After upgrading to Xcode 10.2 I am getting 2 errors :-1: Unable to load contents of file list: 'xxxxx/Pods/Target Support Files/Pods-xxxx/Pods-xxxxx-frameworks-Debug-input-files.xcfilelist' (in target 'xxxxx') :-1: Unable to load contents of file list: 'xxxxx/Pods/Target Support Files/Pods-xxxxx/Pods-xxxxx-frameworks-Debug-output-files.xcfilelist' (in target 'xxxxx') I updated all my pod and changed build system to "Legacy Build System" but still getting the same build error madiver I struggled with this for several hours today and this is what finally worked for me: sudo gem update cocoapods

Swift Version NativeScript

99封情书 提交于 2019-11-30 07:55:37
Using NativeScript how can I run a project under iOS? I get these messages when I run tns run iOS --bundle Webpack compilation complete. Watching for file changes. Webpack build done! Copying template files... Platform ios successfully added. v4.2.0 Executing before-shouldPrepare hook from /Users/Zian/Documents/Projects/NativeScript/Hybrid/hooks/before-shouldPrepare/nativescript-dev-webpack.js Preparing project... Executing before-prepareJSApp hook from /Users/Zian/Documents/Projects/NativeScript/Hybrid/hooks/before-prepareJSApp/nativescript-dev-webpack.js Installing pods... Analyzing

pod install returns fatal error: SSL certificate issue?

落爺英雄遲暮 提交于 2019-11-30 07:23:25
I just installed CocoaPods by following these instructions: Now I opened an Xcode project which has CocoaPods in it, I opened the terminal, went into that project folder and typed "pod install" as required, and I am getting an error back: $ pod install Setting up CocoaPods master repo [!] Pod::Executable clone 'https://github.com/CocoaPods/Specs.git' master Cloning into 'master'... fatal: unable to access 'https://github.com/CocoaPods/Specs.git/': SSL certificate problem: Invalid certificate chain /Library/Ruby/Gems/2.0.0/gems/claide-0.4.0/lib/claide/command.rb:217:in `rescue in run':

How to use Cocoapods in a Swift framework?

旧时模样 提交于 2019-11-30 07:19:29
I am trying to create a new Cocoa Touch Framework for iOS in Swift, using some libraries from Cocoapods, but I can't have it work. I know there are some opened questions about that, but none of them seem to fix my problem. For testing purposes, I just created an empty Cocoa Touch Framework, installed Cocoapods and added the 'MBProgressHUD' pod. Then, as documented by Apple ('Importing Code from Within the Same Framework Target' section), I imported the MBProgressHUD header in my umbrella header like that: #import "MBProgressHUD.h" But when I compile, I have this error: include of non-modular

Podfile: Path of local pod relative to Projectpath possible?

淺唱寂寞╮ 提交于 2019-11-30 07:05:11
I am trying to add local pods to my objective c iOS project. Is there a way to use the rootpath of my project as relative path? The only way I got it to work is by using something like this: pod 'ObjCPod', :path => '~/Documents/iOS-Projects/MyApp/libraries/LocalPod/' This wouldn't work if I moved the Project folder or tried to build the project on another machine. I would like to have something like this: pod 'ObjCPod', :path => '$(SRCROOT)/libraries/LocalPod/' Is there a way to do that? Yes there is a way to do that, I have a project that use cocoapods and have custom pods in it, in the

Run custom shell script '[cp] embed pods frameworks' no such file or directory

你离开我真会死。 提交于 2019-11-30 06:52:19
Just finished resolving my errors after converting to Swift 3 only to get this error when trying to compile. I have attached a screenshot for clarity, it does not look like the system is looking for a .app file or .sh file. Really don't know too much about the Pods, so any help would be greatly appreciated! Seem to have found a solution. My project name had a space in the middle of two words, very bad practice I know. Not entirely sure what caused this error, though one could possibly conclude that since the problem originated in the Pods framework, it could be related to Cocoapods, rather