My app had worked well in xcode 4.4.1, but I just updated to 4.5 and am now getting a clang error. Not even sure what it is telling, has anyone experienced this before or ca
Change "Build Active Architecure Only" to Yes, and it will work :) cheers!
The armv7s
architecture is the new processor type used in the iPhone 5. It looks like your Cordova framework hasn't yet been updated to support that new processor, so when clang goes to link Cordova into your application for iPhone 5 binaries, it can't do so successfully. You'll need to get an update for Cordova.
Nothing solved for me yet, but some developer had success with this url
I got it working by adding references to the various architectures under the "Valid Architectures" field of the "Build Settings" for both my project and the referenced CordovaLib project. Screenshot attached. (I'm using Xcode to accomplish this instead of editing the pbxproj file in a text editor as suggested by someone in the Jira case).
The only caveat is that this method requires Cordova 2.0+, because that's the first version that references the Cordova project and source. You need to build Cordova with these settings. If you are using a previous version and don't want to upgrade, you'll have to obtain the source and build it yourself with this change to the architecture build settings.
More information: https://issues.apache.org/jira/browse/CB-1360