How to make universal binary of one app, which can correctly run on 3G and support multitasking on iPhone 4? Thanks!
+1
A:
This is documented in the iPad Programming Guide under Starting Your Project.
Marcelo Cantos
2010-07-17 06:33:04
Thanks, if I have only iPhone 3G, may I use it and iPhone 4 simulator to test this app on both 3G and iOS 4 (with all features of iOS4 like multitasking, Retina display and so on)? Or I need iPhone 4 device anyway for testing this universal app?
Roman
2010-07-17 06:40:56
So I dont want to split my app into 2 separate apps. I want to write into AppsStore that the App supports OS 3.0 and so on and works correctly on iPhone 4 supporting multitasking.
Roman
2010-07-17 06:43:25
You will need a device to test multitasking. The simulator is sufficient for retina display.
drawnonward
2010-07-17 07:15:47
You can test both multitasking and the high-resolution display with the simulator in iPhone and iPhone 4 modes.
Marcelo Cantos
2010-07-17 10:48:53
Many thanks! :)
Roman
2010-07-24 07:48:51
+2
A:
The term "universal binary" here is a misnomer, since that is only for iPad/iPhone combined apps. If all you want to do is compile a build that works on both iPhone 4 and iPhone 3G, you need to download and install SDK 4, set 4.0 as the "Base SDK", and then set your "Deployment Target" to whatever minimum version of iOS you want to allow to run your app. Some people use a setting of 3.1.3, some people keep that setting at 4.0.
Shaggy Frog
2010-07-17 19:08:58