0

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.

Community
  • 1
  • 1
Smeegol
  • 2,014
  • 4
  • 29
  • 44
  • 1
    What version of Xcode are you using? If it is 4.x then you need to add armv6 with armv7 as your architecture for iTouch's to work: http://stackoverflow.com/questions/4198676/warning-iphone-apps-should-include-an-armv6-architecture-even-with-build-config – Michael Wildermuth Dec 01 '11 at 01:32
  • I have read that page and tried each method, but unfortunately It donesn't work to my issue. It only say nothing but "Finished running $APP_NAME on $IPOD_NAME", OMG. – Smeegol Dec 01 '11 at 02:02
  • Barring the armv6 thing, does your app actually require options your iPod touch doesn't have like Gyro, Camera, or Multitasking? – NJones Dec 01 '11 at 06:45
  • +NJones No, it's just a very common app that donesn't use features like Gyro, Camera or Multitasking. – Smeegol Dec 01 '11 at 07:34

1 Answers1

0

How to add support for iOS 4.2, armv6 in Xcode 4.2. I have tried to make this easy to follow.

Set your deployment target to 4.2 or earlier: enter image description here Modify Architectures to include armv6 like so: 1)Select Other, enter image description here 2) Click on the "+" button, enter image description here 3) Type in "armv6", enter image description here 4) Click done.

Then remove armv7 from required device capabilities by clicking the "-" button in that row.

enter image description here 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.

NJones
  • 27,139
  • 8
  • 70
  • 88
  • I am so sorry, but it cannot solve my problem. The console prints nothing and the device doesn't run as before. Maybe I should not test my app on iPod touch 2, maybe it's so old and Xcode 4.2 is so new. – Smeegol Dec 01 '11 at 04:10
  • Your iPod is not to old. My iPod is the same as yours running 4.2.1 and I am using the most recent non-beta release of Xcode (build 4D502) just updated last night from (4D199). I will edit my answer soon to be more clear. – NJones Dec 01 '11 at 04:31
  • I have tried this before you edited, but it couldn't run on my ipod touch. Thank you all the same. – Smeegol Dec 01 '11 at 06:13
  • Your iTouch is not too old. I just released my game today actually that works on the same iTouch versions and newer devices using Xcode 4.2 – Michael Wildermuth Dec 01 '11 at 17:10
  • Make sure that `armv6` is included in both `Architectures` & `Valid Architectures` in both your project & your target. – NJones Dec 01 '11 at 19:35