I am closing in on finishing my first app and am starting to look into restricting specific iOS devices. My app works fine on the ipad and iphone 4 but not on the iphone 3 or its derivatives. Is there something specific I have to do to indicate that the app is only for the iphone 4, iphone 4s, ipad and ipad 2? Also I would like to keep the app compatible with iOS 4.3 as I know a decent number of people who haven’t updated their iPad to iOS 5 for various reasons. [import]uid: 100558 topic_id: 20342 reply_id: 320342[/import]
Well Corona SDK may do that for you. Recent daily builds have dropped support for armv6 processors in the older devices.
Why is a 3Gs a problem with your app? [import]uid: 19626 topic_id: 20342 reply_id: 79486[/import]
This is my first iOS app so I had originally just excluded the 3GS arbitrarily but more research after reading your question seems to put it on the list of possibly supported devices for me. Specifically I cannot support the first or second generation iPod Touch and cannot support the iPhone or iPhone 3G. I’m just trying to figure out what, if anything, to do to make sure any device specific restrictions are enforced. [import]uid: 100558 topic_id: 20342 reply_id: 79512[/import]
There are things you can put into your info.plist array like requiring a gyroscope (iPhone 4 and later) which can tell iTunes information about what’s needed. That info is on the apple developer portal somewhere.
But just setting the minimum OS to 4.3 should eliminate all the older armv6 processors. [import]uid: 19626 topic_id: 20342 reply_id: 79515[/import]
How do i set the minimum OS version? I saw a drop down option for that in the tutorial for building iOS apps but it doesn’t seem to exist in the latest stable version. [import]uid: 100558 topic_id: 20342 reply_id: 79521[/import]
Add this to your plist in build.settings file. If you are using the daily build after 706, the minimum is automatically set to 4.3, so if your target iOS is 4.3 and above, and if you are using daily build 707 or above, then you don’t need to do anything to set the minimum.
[lua]-- set minimum OS version if desirable
– http://en.wikipedia.org/wiki/List_of_iOS_devices#Models
– iPhone = 3.1.3, iPhone3G = 4.2.1, iPhone3GS = 5.0.1, iPhone4 = 5.0.1, iPhone4S = 5.0.1 (as of Jan. 2012)
– Corona will automatically set the minimum that it covers. Only time this is useful is when you want to
– set the minimum higher than what is automatically set.
MinimumOSVersion=“4.3”,[/lua]
Naomi [import]uid: 67217 topic_id: 20342 reply_id: 79526[/import]
Thanks Naomi! I’m using 2011.704 so that sounds like what I was looking for! [import]uid: 100558 topic_id: 20342 reply_id: 79543[/import]