I have developed an app that required iOS >= 4.0. But when I download it from App Store by using my iPod touch 2 (iOS 4.2.1), it says "This App Is Incompatible With This iPod touch". I don't know why. And when I use this iPod touch to run the app through Xcode, it also don't run on my iPod touch. How can I debug this error?
I have read this and my app build settings show that "Architectures" is "Standard(armv7)" and "Valid Architectures" is "armv6 armv7", I wondered if it's wrong.
How to add support for
iOS 4.2
,armv6
inXcode 4.2
. I have tried to make this easy to follow.Set your deployment target to 4.2 or earlier: Modify Architectures to include
armv6
like so: 1)Select Other, 2) Click on the "+" button, 3) Type in "armv6", 4) Click done.Then remove armv7 from required device capabilities by clicking the "-" button in that row.
I personally use this method constantly to run apps on my iPod touch 2nd gen with the newest Xcode.(at this point Build 4D502).
In fact the project that I used for this example now runs on that iPod.