cocoapods

Xcode 9 fails to build Swift 4 project with pod

懵懂的女人 提交于 2019-12-01 05:53:38
When attempting to build my Swift 4 project in Xcode 9 beta 2, some code signing error occurs after which the build of my app is discontinued. The error that is shown in Xcode: /usr/bin/codesign --force --sign - --preserve-metadata=identifier,entitlements '/Users/nickgaens/Library/Developer/Xcode/DerivedData/Emprova_Swift-bbvmoytlhlbqpueyftstselvwhdj/Build/Products/Debug-iphonesimulator/Emprova GPS Swift.app/Frameworks/Alamofire.framework' /Users/nickgaens/Library/Developer/Xcode/DerivedData/Emprova_Swift-bbvmoytlhlbqpueyftstselvwhdj/Build/Products/Debug-iphonesimulator/Emprova GPS Swift.app

iOS App failing when running UI Test in XCode 7.1.1

牧云@^-^@ 提交于 2019-12-01 05:46:16
问题 I'm creating my first UI Test for my iOS app. Every time I run the test I get the error: UI Testing Failure - App accessibility isn't loaded (please see attached image) plus an error message in the debug console: dyld: Library not loaded: @rpath/RestKit.framework/RestKit Referenced from: /Users/Claus/Library/Developer/CoreSimulator/Devices/<code>/data/Containers/Bundle/Application/<code>/MyApp.app/MyApp Reason: image not found I would like to point out that the RestKit (installed using

Xcode 10.2.1 Command PhaseScriptExecution failed with a nonzero exit code

爷,独闯天下 提交于 2019-12-01 05:28:28
Showing Recent Messages:-1: mkdir -p /Users/spritzindia/Library/Developer/Xcode/DerivedData/Contigo-atftiouzrdopcmcpprphpilawwzm/Build/Products/Debug-iphonesimulator/Contigo.app/Frameworks Showing Recent Messages:-1: rsync --delete -av --filter P .*.?????? --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "/Users/pothi/Library/Developer/Xcode/DerivedData/Contigo-atftiouzrdopcmcpprphpilawwzm/Build/Products/Debug-iphonesimulator/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework" "/Users/pothi

Unable to install Cocoapods on Yosemite DP 7

不羁的心 提交于 2019-12-01 05:27:22
问题 I am having trouble installing Cocoapods on Yosemite DP 7 installed on a separate partition. I already attempted following the instructions found on Cocoapods with Xcode 6 and 10.10 Yosemite and in the issue(https://github.com/CocoaPods/CocoaPods/issues/2219) closed due to the same solution proposed on the Stack Overflow link. I continue to get the following error: Rasmuss-MacBook-Pro:~ rasmusth$ sudo gem install cocoapods Building native extensions. This could take a while... ERROR: Error

Right way to extend or customize cocoapods

六眼飞鱼酱① 提交于 2019-12-01 05:26:01
What is the correct way to extend or customize a Framework(pod) when using cocoapods to manage it in the project. I know the source can be edited directly but it doesn't seem to be the right solution. As far as I know, CocoaPods are not intended to make any changes to frameworks and contribution to frameworks. They are a good way to copy something to your project only. You can extend classes using categories for adding new methods and associated references for adding new variables. This will not affect the modularity of a pod/framework and you will not loose your changes. You can also use

CocoaPods Error to install/search pods

偶尔善良 提交于 2019-12-01 05:10:56
问题 I'm trying to use some pods in my project. But the terminal results in that: $ pod install Analyzing dependencies [!] Unable to find a specification for `Mantle`. So, I tryed to search the pod or others and for any pod that I have tryed, the result is: $ pod search Mantle [!] Unable to find a pod with name matching `Mantle' $ pod search LBBlurredImage [!] Unable to find a pod with name matching `LBBlurredImage' What is wrong?! The https://github.com/CocoaPods/Specs have all pods.... 回答1: This

Xcode 9 fails to build Swift 4 project with pod

拟墨画扇 提交于 2019-12-01 04:05:14
问题 When attempting to build my Swift 4 project in Xcode 9 beta 2, some code signing error occurs after which the build of my app is discontinued. The error that is shown in Xcode: /usr/bin/codesign --force --sign - --preserve-metadata=identifier,entitlements '/Users/nickgaens/Library/Developer/Xcode/DerivedData/Emprova_Swift-bbvmoytlhlbqpueyftstselvwhdj/Build/Products/Debug-iphonesimulator/Emprova GPS Swift.app/Frameworks/Alamofire.framework' /Users/nickgaens/Library/Developer/Xcode/DerivedData

Right way to extend or customize cocoapods

核能气质少年 提交于 2019-12-01 04:00:04
问题 What is the correct way to extend or customize a Framework(pod) when using cocoapods to manage it in the project. I know the source can be edited directly but it doesn't seem to be the right solution. 回答1: As far as I know, CocoaPods are not intended to make any changes to frameworks and contribution to frameworks. They are a good way to copy something to your project only. You can extend classes using categories for adding new methods and associated references for adding new variables. This

Swift: Cannot use library from Pod file

╄→гoц情女王★ 提交于 2019-12-01 03:38:07
I'm using Typhoon library for Dependency Injection Framework. I use CocoaPod for installing this library. Here is my pod file: target "typhoon-swift-demo" do pod 'Typhoon' end target "typhoon-swift-demoTests" do end I have installed successfully but when I open workspace project file. I type those line of code as Typhoon sample code: public class ApplicationAssembly: TyphoonAssembly { } I meet error that my application doesn't recognize TyphoonAssembly I have tried to use some lines such as: import Typhoon // not recogize typhoon import TyphoonAssembly // not regconize Please tell me how to

Undefined symbols for architecture armv7: cocoaPods iPhone 5

有些话、适合烂在心里 提交于 2019-12-01 03:29:21
I'm getting this error, only when I try to build and run on an iPhone 5. It works fine on an iPhone 6 or greater. These are all cocoaPods generating the error. I've ran pod install, pod update, wiped out the pods and started over, nothing: I've tried all the answers from here: Undefined symbols for architecture armv7 for Cocoapods libraries with no luck. Here is the verbose output from pod install Analyzing dependencies Inspecting targets to integrate Using `ARCHS` setting to build architectures of target `Pods-Celeo`: (``) Finding Podfile changes - Braintree - ConciseKit - EDStarRating -