I currently have an Universal iOS app, but with the new iPad3 device we needed to add resources/sprites for that specific device, the problem is that the size of the IPA has become incredible larger thanks to the huge new screen. I was wondering if its possible to have only one Xcode 4 Project that could generate two different IPAs, one with target:iphone and other with target:ipad, that could also include or exclude files depending on the file extension, for example blah-ipad.png wont be on the iphone version.
Thanks!
I currently have an Universal iOS app, but with the new iPad3 device we
Share
@Conrad Shultz is correct about why you shouldn’t split an existing paid app into two.
For people who haven’t released their app, or whose app is free, it’s worth knowing that you can duplicate a Target by right-clicking (or control-clicking) on it and selecting Duplicate. I’m pretty sure Duplication is only offered through this context menu. The more obvious ‘Add Target’ options involve creating a whole new Target and manually duplicating the contents and settings of your existing Target.
Once you have multiple targets, you can specify which resources are distributed with each.
Edit: you will also need to change the ‘Devices’ setting if you have an iPhone Target and an iPad Target.
If you have a lot of resources, consider including them in folders with Folder References. Then you can specify target membership for the entire folder, without having to change individual files. This will change the path to those resources within your bundle, so plan accordingly.