I updated my iphone4s and xcode to the latest yesterday. And I\'m trying to debug my app on my phone since my application uses hardware communication. I\'m using a third pa
You can simply disable the compilation of armv7s
in your Build Settings, by replacing the $VALID_ARCHITECTURES
(which evaluates to armv7 armv7s
now) value by the explicit value armv7
.
Thus your application will only build for armv7
and not armv7s
, so will not be fully optimized for the new iPhone5, but it will still run on iPhone 4 and 5 anyway (the armv7s
processor of the iPhone 5 can execute armv7
applications, it is just not as optimized as with armv7s
processor dedicated instructions)
I did another search and found two solutions work for me. Dafna 1. Go to Target Setting -> Build Settings -> Build Active Architecture Only -> change to NO. 2. Still in Build Settings -> Valid Architecture -> delete armv7s.
They both work for me. If you have the same problem, definitely try this first.