cocoapods – ‘pod install’ takes forever
I ran into the same problem, and I solved it by running the following commands which is given here pod repo remove master pod setup pod install
I ran into the same problem, and I solved it by running the following commands which is given here pod repo remove master pod setup pod install
You can set up your podfile to automatically match the deployment target of all the podfiles to your current project deployment target like this : post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings[‘IPHONEOS_DEPLOYMENT_TARGET’] = ‘9.0’ end end end
I was able to fix that by updating CocoaPods. I. Project Cleanup In the project navigator, select your project Select your target Remove all libPods*.a in Build Phases > Link Binary With Libraries II. Update CocoaPods Launch Terminal and go to your project directory. Update CocoaPods using the command pod install
OK, found the problem. I upgraded Ruby some time ago and blasted away a whole load of gems. Solution: sudo gem install cocoapods For none-sudo use: export GEM_HOME=$HOME/.gem export PATH=$GEM_HOME/bin:$PATH gem install cocoapods –user-install
Are you opening the workspace (that was generated by CocoaPods) instead of the xcodeproj?
Remove lib from Podfile, then pod install again.
2022 September Update If you can use Homebrew to manage cocoapods. # Uninstall the local cocoapods gem sudo gem uninstall cocoapods # Reinstall cocoapods via Homebrew brew install cocoapods 2021 Solution # STEP 1: Install ffi sudo arch -x86_64 gem install ffi # STEP 2: Re-install dependencies arch -x86_64 pod install Additional Information #1 For … Read more
POD Install Open terminal and type: sudo gem install cocoapods The Gem will get installed in Ruby inside the System library. Or try on Mac OS X v10.11 (El Capitan), type: sudo gem install -n /usr/local/bin cocoapods If there is an error “activesupport requires Ruby version >= 2.xx”, then install latest activesupport first by typing in the … Read more
I had the same problem, but in Xcode 6.1.1 – what fixed it for me was to change the configuration file setting to None for the two Pods-related targets, then run pod install again. The configuration file setting is found by selecting the project (not the target) and then the Info tab.
I commit my Pods directory. I don’t agree that the Pods directory is a build artefact. In fact I’d say it most definitely isn’t. It’s part of your application source: it won’t build without it! It’s easier to think of CocoaPods as a developer tool rather than a build tool. It doesn’t build your project, … Read more