How to build for iOS 4.2.1 (iPhone 3G)?

Mac OS Snow Leopard, XCode 3.2.5 (SDK 4.2), Corona SDK 2012.811

after build warning “wrong arhitecture, required:armv7” [import]uid: 130910 topic_id: 26176 reply_id: 326176[/import]

There is another thread about this somewhere, but basically you need to use an older version of Corona SDK; building for that device was removed by Apple could Corona had to drop support as well. [import]uid: 41884 topic_id: 26176 reply_id: 106064[/import]

use an older version of Corona SDK

ok. but how to use widget API in older SDK? [import]uid: 130910 topic_id: 26176 reply_id: 106067[/import]

You don’t?

I think there are some builds that support the 3G and have rudimentary widget support from last year but generally speaking they are nowhere near as far along as the stuff now.

I really don’t recommend building for 3G but if you absolutely must, you may need to consider non-ansca widgets for that purpose (eg: tableView.lua instead of widget.newTableView, etc.) [import]uid: 41884 topic_id: 26176 reply_id: 106074[/import]

Build 707 we dropped support for iOS < 4.3 so the only widget stuff available is from the last stable (704) and nothing added since then, although depending on your goal this may be sufficient. [import]uid: 52491 topic_id: 26176 reply_id: 106181[/import]

What do you mean building for that device was removed by Apple? If you build with Corona 706, deploy to the app store, an iPod Touch 2G user cannot download your app? Or they won’t accept the app submission? [import]uid: 58455 topic_id: 26176 reply_id: 110915[/import]

Apple stopped support for the ARM processor used by those devices, and support was removed from newer versions of xcode. Which means that if you use 707+ than a user with one of those devices is SOL

You can always use an older Corona and older xcode, although I’m not sure how far back that works. (I think you can still submit some older stuff, although maybe somebody else here can speak to that?)

I wouldn’t be surprised if the 3GS is removed from IOS6 on, but that’s just a guess… [import]uid: 41884 topic_id: 26176 reply_id: 110919[/import]

This issue keeps cropping up on this forum and I still don’t really understand it.

How come my iPod 4.2 can install nearly every top 10 app in the app store and run it ?

I know it might be slow but obviously Apple still let you deploy apps that are compatible with 4.2 and lower.

Dave [import]uid: 117617 topic_id: 26176 reply_id: 111307[/import]

I believe you should be able to build with 704 to support 4.2 if you wish. [import]uid: 52491 topic_id: 26176 reply_id: 111322[/import]