cocoapods

Cocoapods pod stable build setting

混江龙づ霸主 提交于 2019-12-20 04:17:07
问题 Is there a way to add build setting in a cocoapods pod without direct changing Pods project or other auto-generated stuff, so it will still be in place after pod install ? Being specific, I need to set DISABLE_MIXPANEL_AB_DESIGNER=1 in Mixpanel pod to avoid crashes. I've found something here, but it's outdated & looks strange because (as far as I understand) podspec file is created by pod owner, not user. 回答1: Thanks, @Hodson, it is the solution. Slightly modified the example from

How to use local-only project via CocoaPods

扶醉桌前 提交于 2019-12-20 02:06:35
问题 I am struggling to find a way to package an Xcode framework we created as a Pod that would only be used internally (not public, not on github). How do I modify the .podspec to build the SDK from the local Xcode project on my development machine? 回答1: Short answer: you don't use the .podspec for this. Longer: the .podfile is mainly for specifying: external dependencies what to snarf out of the project, relative to the project folder IIRC, other than some informational metadata, the .podspec

Cannot install Alamofire 4.0 in Xcode 8.0 Using CocoaPods

a 夏天 提交于 2019-12-19 21:25:52
问题 I need to upgrade one project to Swift 3.0, that has some libraries by Cocodpods. So, I've removed all links related with Cocoapods and recreate pod file using pod init and upgrade some version of library such as AlamorFire. But pod install said [!] Unable to satisfy the following requirements: - `Alamofire (~> 4.0)` required by `Podfile` None of your spec sources contain a spec satisfying the dependency: `Alamofire (~> 4.0)`. You have either: * out-of-date source repos which you can update

Cannot install Alamofire 4.0 in Xcode 8.0 Using CocoaPods

徘徊边缘 提交于 2019-12-19 21:25:44
问题 I need to upgrade one project to Swift 3.0, that has some libraries by Cocodpods. So, I've removed all links related with Cocoapods and recreate pod file using pod init and upgrade some version of library such as AlamorFire. But pod install said [!] Unable to satisfy the following requirements: - `Alamofire (~> 4.0)` required by `Podfile` None of your spec sources contain a spec satisfying the dependency: `Alamofire (~> 4.0)`. You have either: * out-of-date source repos which you can update

xCode: Library not found - lPods-Bolts - Exit Code 1

主宰稳场 提交于 2019-12-19 19:46:10
问题 Hi I'm having this issue: ld: library not found for -lPods-Bolts clang: error: linker command failed with exit code 1 (use -v to see invocation) However, I downloaded the Bolt package from the Facebook Docs and put it into my supporting files. In addition, I'm using Cocoapods so I also downloaded Bolt using Cocoapods. Ld /Users/mmk88/Library/Developer/Xcode/DerivedData/Jobazo-gejnfogovpyqypgovssmomabbuhl/Build/Products/Debug-iphoneos\ /Jobazo.app/Jobazo normal arm64 cd /Users/mmk88/Desktop

JUCE and React Native - linker error “ld: library not found for -lReact”

放肆的年华 提交于 2019-12-19 09:55:12
问题 I'm getting this linker error using CocoaPods with React Native: ld: library not found for -lReact I have followed the guide at https://facebook.github.io/react-native/docs/embedded-app-ios.html#content I am trying to integrate with an existing iOS project, which is a JUCE C++ project. JUCE generates the Xcode project file so I believe I need to use the Cocoapods method. The steps I'm doing are: create or save iOS build from Introjucer project run npm install react-native from root of project

How to use Firebase SDK as a Pod dependency?

时光总嘲笑我的痴心妄想 提交于 2019-12-19 09:24:16
问题 Now that the iOS Firebase SDK is open-source, I'd like to build a pod using Firebase as a dependency. To do so, I create a new pod template with the following. My issue is that I can import FirebaseDev from the example project, but I cannot from my development pod. I knew this was an issue before the SDK got open-source, but I hope to be able to fix this issue now but I need help identifying where the problem lies. Anyone can help on this? .podspec : s.dependency 'FirebaseDev' s.dependency

“pod update” doesn't update to latest version

我只是一个虾纸丫 提交于 2019-12-19 05:11:28
问题 Here is my podfile I use in the project: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '9.0' use_frameworks! pod 'AFNetworking', '~> 2.0' pod 'GoogleMaps' pod 'MONActivityIndicatorView' pod 'NYXImagesKit' pod 'MagicalRecord' pod 'FBSDKCoreKit' pod 'FBSDKShareKit' pod 'FBSDKLoginKit' pod 'Countly' The problem is that cocoapods 0.39 is updating AFNetworking to version 2.5.4 which is wrong. The latest version is 2.6.3 Also facebook SDK updating to 4.4 (latest is 4.8) etc. I

How do I delete my public cocoa pods

若如初见. 提交于 2019-12-19 03:20:44
问题 I have created a couple test cocoa pods that are public I need to delete these not just from my computer but from the public pod list? Is there a way to remove the trunk? 回答1: To delete these specs entirely you'll need to submit a pull request to the specs repo removing the affected files. If you want to also remove them from the trunk database, you'll have to submit an issue on the trunk repo explaining the situation. 回答2: In order to complete the @Keith Smiley's response , please find some

'sudo gem install cocoapods' doesn't work on El Capitan 10.11.4 , ERROR: Could not find a valid gem 'cocoapods' (>= 0) in any repository

假如想象 提交于 2019-12-18 20:07:23
问题 Upgrading from Yosemite to El Capitan seem to have wiped out the already installed CocoaPods. When I pod install Alamofire/SwiftyJson, it says 'Pod command not found' , and as per the stackoverflow solutions I uninstalled cocoapods and trying to reinstall it with the commands - sudo gem uninstall cocoapods - sudo gem install cocoapods I get the error: "Could not find a valid gem 'cocoapods' (>= 0) in any repository" Did go through ALL the solutions mentioned by the Gurus under the issue https