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 p
This works great in most cases :
$(inherited)
present in the Other Linker Flags
in Build Settings.Go
in Menu bar and then Go to folder
~/Library/Developer/Xcode
DerivedData
If this doesnt work, create a new question and post your logs of pod install
there. Something is going wrong in installation itself. Make sure you are using a stable latest version of Cocoapod.
None of the answers above helped me. It turns out using frameworks for my pods instead of static libraries fixed it. Adding use_frameworks! to Podfile fixed it:
platform :ios, '9.3'
use_frameworks!
...rest of podfile
In Xcode, hold the option key and select Product / Clean Build Folder. Then rebuild. I've had this exact problem and this "deep clean" resolves it for me.
Also, ensure that for your Pods project that the build setting for Build Active Architecture Only is set to NO.