Xcode - File was built for archive which is not the architecture being linked armv7s or armv6s or i386
Xcode build/linking problem When you are trying to run on an external device you can get this error. I've spent a lot of time to find a solution. Just make sure that "Build Active Architecture Only" is set to Yes for Debug and NO for Release (or you will get a warning when publishing/uploading the app in the store). You can find the option in the "Build Settings" of your application in xcode.