Reputation: 161
I am trying to run a Cocoapods project and getting the following error
I tried to pod deintegrate
and then pod install
but it's still there.
I also tried removing the pod.debug.xcconfig
file from Project->Info->Configuration
and then pod install
but nothing.
pod.debug.xcconfig
generated by pod install
contain path like ${PODS_ROOT}/Headers/Public/AttributedMarkdown
but I can't find 'Headers/Public'
in Project Navigator
Upvotes: 5
Views: 12167
Reputation: 617
Make sure you're building the same archs in Pods
and the target. I was able to resolve it by going to the Pods
project and setting Build Active Architecture Only
to No for all builds/configs. No need to execute any commands outside of Xcode.
Upvotes: 0
Reputation: 48522
First line of defense: (Quit Xcode first, which is part of the strategy) :
rm -rf Pods/ Podfile.lock ; pod install
Defensive approach: verify your Podfile. Is it coherent? How about your tools versions? What happens if you create a new Podfile with pod init
? Do you have all targets as expected?
Drastic measure: Rebuild xcworkspace entirely:
sudo gem install cocoapods
(get latest)rm -rf Pods/ Podfile.lock ; pod install
Note:
Notice the use of rm -rf Pods/ Podfile.lock ; pod install
instead of pod update
.
Upvotes: 11