So I have a brand new app I created last night for iOS6, using XCode 4.5. I can properly develop on my iPhone 4 with iOS6.
Today I got my new iPhone 5 with iOS6 and,
some times this happens when your project was build in xcode 4.5 and you are trying to run in xcode 5.0. so in my case I found the solution.
Change your compiler for C/C++/ObjectiveC Go to Build
Settings->Build OPtions->compiler for C/C++/ObjectiveC; select Default(Apple LLVM5.0)
One of my 3rd party libraries couldn't run on armv7s so I removed that option. I also removed armv6 and kept armv7 as the only option. It built and ran on the phone with only armv7.
Make sure the bundle name (in plist file) is same as the project name. I changed it and it worked.
Also you need to select the compiler LLVM in
Project --> Build Settings --> Build Options
Just need to select the compiler LLVM in
Targets --> Build Settings --> Build Options