iOS – Build fails with CocoaPods cannot find header files

Update Make sure your Podfile includes link_with on targets missing a config file. Cocoapods only sets the first target by default otherwise. e.g. platform :osx, ‘10.7’ pod ‘JSONKit’, ‘~> 1.4’ link_with ‘Pomo’, ‘Pomo Dev’, ‘Pomo Tests’ —— End Update Note: Please do note that you have to look into Project->Info->Configurations for steps below. I had … Read more

The target … overrides the `OTHER_LDFLAGS` build setting defined in `Pods/Pods.xcconfig

This definitely works most of the time: Go to your target Build Settings -> Other linker flags -> double click . Add $(inherited) to a new line. If you have problem with “…target overrides the GCC_PREPROCESSOR_DEFINITIONS build setting defined in…” then you must add $(inherited) to your target Build Settings -> Preprocessor Macros

Pod install is staying on “Setting up CocoaPods Master repo”

You could try running in verbose mode: pod install –verbose That’ll show you what cocoa pods are up to: Setting up CocoaPods master repo Cloning spec repo `master` from `https://github.com/CocoaPods/Specs.git` (branch `master`) $ /usr/bin/git clone ‘https://github.com/CocoaPods/Specs.git’ master Cloning into ‘master’… (as suggested here) For me the above step took quite a long time as the … Read more

How to update a single pod without touching other dependencies

Make sure you have the latest version of CocoaPods installed. $ pod update PODNAME was introduced recently. See this issue thread for more information: $ pod update When you run pod update SomePodName, CocoaPods will try to find an updated version of the pod SomePodName, without taking into account the version listed in Podfile.lock. It … Read more