I am using Xcode 4.2 to develop my apps. My current ongoing project is set to run on ios4.2, but i only have a iPhone 3G (not ‘S’) to test my app. The problem is that when i try to run my app in my device, xcode says it was compiled and running on device but the app doenst even install in my iPhone.
I have read on other posts that i have to change the armvX configuration, so how do I do that in order for my app to run in a iPhone 3G?
Thanks.
This is a hardware issue rather than an iOS version issue.
In the Architectures section of your build configuration it probably just says armv7.
You need it so have two entries, armv6 and armv7. Select Other from the architectures menu then delete the default then add two new entries, one that just says armv6, on that just says armv7.
This creates a fat binary (essentially two binaries) which will contain the v6 code the 3G needs.