Can you use iPhone 3Gs (or newer) with build settings?

My application does not work on slower hardware, but I want to support iOS 4.0, which can run iPhone 3G (and the equivalent of the 2nd generation iPod touch). Is there a way to prevent it from being installed via build settings? (I would prefer not to use it in the code when starting the application.)

I thought VALID_ARCHS build setup could do this by removing arm6 (leaving only arm7), but I was able to install directly in the 2nd gene. iPod touch

+5
source share
1 answer

(I found the answer when I asked this question, but the question "Iphone 3Gs And Iphone 3" is not very searchable, so I posted it and answered it to help others in the future.)

iPhone 1, iPhone 3G - armv6. iPhone 3Gs, iPhone 4 - armv7. (iPad - armv7.)

You must set the UIRequiredDeviceCapabilities parameter in Info.plist to the required architecture (in this case armv7). You should also remove armv6 from the target build settings to reduce compilation time.)

The original answer is found here .

to change . Apple did not agree with the presentation with this key. I will try this possible duplicate and then update my answer here.

edit 2 : Looks like this answer worked.

FYI: , () . Apple , - . ( , , , , , .)

+3

All Articles