I keep getting this warning and errors can anyone help?
ld: warning: ignoring file /Applications/Xcode.app/Contents/Developer/Platforms /iPhoneOS.p
This problem is related to the XCode messing up debugging, profile and final release files, when trying to get a shorter build time reusing old files.
That's why an architecture is missing (and it's probably the opposite of what you've already used), because XCode is trying to reuse some previous files that it built for a single architecture.
Clean your project in XCode (⇧ + ⌘ + K) and try to clean all other third-party libraries as well. After that, try to rebuild your app directly in the desired release mode. This worked 100% times without the need to restart XCode.
XCode stinks, what else could I say??