cocoapods

Xcode 10 Command PhaseScriptExecution failed with a nonzero exit code (EXPANDED_CODE_SIGN_IDENTITY: unbound variable)

元气小坏坏 提交于 2019-12-20 11:35:53
问题 This error pops up when doing Project > Test /Users/.../Project/Pods/Target Support Files/Pods-Target/Pods-TargetTests-frameworks.sh: line 104: EXPANDED_CODE_SIGN_IDENTITY: unbound variable Command PhaseScriptExecution failed with a nonzero exit code How do I resolve "Command PhaseScriptExecution failed with a nonzero exit code" error when trying to test a project with cocoapods? 回答1: This helped me sudo gem install cocoapods --pre pod update I've read BugReport. Problem was similar to mine

FacebookShare causing compiler error after update

大憨熊 提交于 2019-12-20 11:04:20
问题 I just ran pod update for my app, and now it won't compile, giving these issues from LinkShareContent.swift in FacebookShare . Cannot assign to property: 'contentDescription' is a get-only property Cannot assign to property: 'contentTitle' is a get-only property Cannot assign to property: 'imageURL' is a get-only property These were the Facebook-related lines in my pod update: Installing FBSDKCoreKit 4.23.0 (was 4.22.0) Installing FBSDKLoginKit 4.23.0 (was 4.22.0) Installing FBSDKShareKit 4

Missing required icon files in build from Xcode 9

夙愿已清 提交于 2019-12-20 10:27:09
问题 Using Xcode 9 and Application Loader: But as you can see there are all required icons: What is the case? This is my podfile: use_frameworks! source 'https://github.com/CocoaPods/Specs.git' def pods pod 'GoogleMaps' pod 'PickerView' pod 'SWNavigationController' pod 'Branch' pod 'JTAppleCalendar', :git => 'https://github.com/patchthecode/JTAppleCalendar.git', :branch => 'master' pod 'SVProgressHUD' end def universal_pods pod 'AFNetworking' pod 'Crashlytics' pod 'Fabric' pod 'MagicalRecord' end

Changing an imported library using cocoapods

放肆的年华 提交于 2019-12-20 10:26:21
问题 I am working on a project using cocoapods and suddenly I see myself doing some changes in one of the libraries. How can I ensure that those changes will never be override by a pod update ? Is there any way to introduce changes in a pod without updating the github project? UPDATE : Forking a project I have tried to fork the project and create a new specfile to point to the new project. I was able to install the basic stuff, however, for some reason, there are some dependencies that are

Cocoapods error: “Pull is not possible because you have unmerged files.”

◇◆丶佛笑我妖孽 提交于 2019-12-20 10:18:55
问题 When installing a new CocoaPod, I got the following error. $ pod install Analyzing dependencies [!] Pod::Executable pull A AFHARchiver/0.2.1/AFHARchiver.podspec A AFWunderlist/1.0/AFWunderlist.podspec A AFWunderlist/1.1/AFWunderlist.podspec A AFgzipRequestSerializer/0.0.1/AFgzipRequestSerializer.podspec . . . A wpxmlrpc/0.4/wpxmlrpc.podspec A zipzap/6.0/zipzap.podspec Pull is not possible because you have unmerged files. Please, fix them up in the work tree, and then use `'git add/rm <file>'`

Xcode: ld: library not found for -lAFNetworking

断了今生、忘了曾经 提交于 2019-12-20 09:57:23
问题 Because of this one reason, build always fails...Any ideas about what I could try? EDIT: the solution is to open the xcworkspace instead of the xcproject! 回答1: Might be you are opening .xcodeproj file after installing pods. Close the project and open .xcworkspace file. 回答2: Have the same issue. What I did with the help of https://premium.wpmudev.org/forums/topic/anybody-solved-this-linker-command-failed-with-exit-code-1 and Adlair Cerecedo-Mendez Delete the "Pods" project on the left panel of

“pod init” creates error that says “You need at least git version 1.8.5 to use CocoaPods”

半城伤御伤魂 提交于 2019-12-20 08:56:48
问题 I was not able to install any pod in my system. Hence, I removed cocoapods from my Mac and then reinstalled it. The process was successful but when I run the command pod init following error shows up in the terminal: `verify_minimum_git_version!': [!] You need at least git version 1.8.5 to use CocoaPods (Pod::Informative) from /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.1/lib/cocoapods/command.rb:49:in `run' from /Library/Ruby/Gems/2.0.0/gems/cocoapods-1.2.1/bin/pod:55:in `<top (required)>'

CocoaPods not working in macOS High Sierra

你离开我真会死。 提交于 2019-12-20 08:05:45
问题 After upgrading to macOS High Sierra CocoaPods is not working. While it is tempting to move away from CocoaPods, it's unfortunately not in scope right now. The error message is below. zsh: /Users/****/.gems/bin/pod: bad interpreter: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin: no such file or directory I realize that the error stems from Ruby being upgraded but what is the easies fix? Trying to make CocoaPods use the new ruby version yields other errors. Edit: For now i

Category not found in Cocoapods library

限于喜欢 提交于 2019-12-20 06:28:40
问题 I am releasing a new version of my CocoaPods library. In this version I included the UIDevice-Hardware.h category. I am aware of the use of the -ObjC flag to import categories in static libraries. In Build Phases -> Copy Headers , UIDevice-Hardware.h is in 'Project'. When I run pod lib lint --no-clean , I thought the -ObjC flag would be set, but I get the error: - ERROR | [xcodebuild] TCBlobDownload/TCBlobDownload/TCBlobDownload/TCBlobDownloader.m:16:9: fatal error: 'UIDevice-Hardware.h' file

WatchKit Extension not working under CocoaPods

≡放荡痞女 提交于 2019-12-20 05:52:36
问题 Using iOS-8.3, Xcode-6.3.1 and MacOS-10.10.3 - The CocoaPods (v0.37.1) installation of the RealmSwift (v0.92.3) described here and here basically works, except the WatchKit Extension does not find any Realm keywords. My Podfile looks as follows: xcodeproj 'MyApp.xcodeproj' workspace 'MyApp.xcworkspace' platform :ios, '8.3' source 'https://github.com/artsy/Specs.git' source 'https://github.com/CocoaPods/Specs.git' use_frameworks! def shared_pods pod 'RealmSwift', '>= 0.92.3' end target 'MyApp'