I just upgraded my old project to new iOS 7. It was already using Cocoapods. I compile and run and everything works fine on the simulator and the device. I tried to archive
I had this problem when experimenting with adding CocoaPods to an existing project.
It turned out that CocoaPods got the Architectures
setting right, but missed on the Build Active Architecture Only
setting. Both must be in perfect sync with your main project, or it will fail when building for a real device (at least if you got more than one ARM arch, which you usually do (armv7, armv7s and now arm64)).
Solved the problem for me, hopefully this will help others with a similar problem.
set the architecture of pods.
Click on Pods>Build Settings>Architecturs>armv7,armv7s
Variety of reasons why is this happening. This page is really helpful:
http://guides.cocoapods.org/using/troubleshooting.html
For some reason, I changed the workspace build location to Legacy. Changing it back to Custom: Relative to Derived Data solved it for me!
Worked for me just now.
cocoapods version 0.34.1
Sounds like you just needed to update cocoapods. For anyone else who doesn't want to solve the problem by simply removing cocoapods from your project, do this:
Check your version of cocoapods:
pod --version
If it's less than 0.25.0, you need to do an update (don't forget "sudo" if necessary):
gem update cocoapods
Make sure your pods are updated:
pod install
Finally, open your .xcworkspace file.
You should be good to go.
The solution of @john doe (owner of this thread) is correct, you must set up CocoaPods for your project first by running
pod setup
And then
pod install