Our phonegap app builds fine for the iphone simulator but generates linker errors when building the app on an iphone. the only thing that changed was installing testflight a
seems like we also unintentionally upgraded to xcode 5.1, causing the problem. phonegap 3.4 and xcode 5.1 are incompatible unless you make some changes.
here is the solution: http://shazronatadobe.wordpress.com/2014/03/12/xcode-5-1-and-cordova-ios/
This kind of problems occur while updating your Xcode but any third party tool you are using may not be updated with this architecture armv64
.
So Click on your Project Navigator from XCode.
Click On Targets
from your Project and click on BuildSettings
from it.
Find Valid Architectures
in it.
Just double click on that and remove armv64
from that.
Make sure there is armv7 and armv7s
only.
In my case this worked for me.
Clean and build your project. It should work fine now.
Hope it helps you.
EDIT
Now, as of Feb 1st 2015, apple will not allow apps without arm64 architecture supported.
So make sure that all the apps submitted have arm64 support.
Sorry if this might seem like a trite answer, but the following steps are usually what I always do when I see linker errors :
git submodule update --init --recursive
Rinse and Repeat.
In case you have any modules that are not being references correctly, head over to your Build Phases, REMOVE the modules that are troubling you and re-add them.