How to test a new app on old hardware? (Xcode 4.3.2 with base SDK iOS 5.1; test-device is iPhone 3G with iOS 4.2.1)

StackOverflow https://stackoverflow.com/questions/10033427

  •  29-05-2021
  •  | 
  •  

Question

I am developing an iPhone-App that should run not only on new iphones, but on old devices as well. So for testing, I did load a provisioning profile to my old iPhone 3G (iOS 4.2.1) and connected it with my mac. In Xcode I also did set iOS Deployment Target to 3.0. With this settings, the app runs on an iPhone 4, but not on my old iPhone 3G.

I know that I also must set architecture from armv7 to armv6, but when I enter "armv6" it jumps back to "armv7".

So, what must I do, to be able to test new apps on old devices? What values must I enter, and WHERE must I enter them? Do I need to download some addon for the actual SDK?

Was it helpful?

Solution

We are testing applications on iOS 4 and 3 for some applications at my work and normaly the two key point are the arm achitecture and the deployment target as you already point out.

First, if you have multiple target, make sure you have the correct configuration everywhere.

Secondly, you pointed out that the armv7 "jumps" back to armv6. It shouldn't happen. Make sure you enter this field correctly with "armv6" on the first line and "$(ARCHS_STANDARD_32_BIT)" on the second line of the popup.

Finally, do you have any warnings or message in you console when you try to lauch the application ?

OTHER TIPS

XCode comes with an iOS simulator... You should be able to test from iOS 3.2 - 5.1

If you don't already have it go to the update manager in XCode and download the iOS 5.0 simulator.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top