Reputation: 1569
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.
Upvotes: 0
Views: 192
Reputation: 2992
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.
Upvotes: 2
Reputation: 2642
I dont have my Mac in front of me but i believe in the Target settings for the project (click on the project in Xcode and under targets select your project name)
In the settings there you will see it more then liekly saying armv7 change to a lower number armv and i believe it will work.
though i cant be sure
Upvotes: 0
Reputation: 835
Upvotes: 0