Quote:
Originally Posted by knut
Hi All
give me please info or documentation how create and use application for both iphone and ipad not universal application.
i search in google but can not found way how do it.
Thanks
|
There are 2 options. You can make a universal app, where the same executable will run "native" on both types of devices.
The second choice is to create two separate applications from the same project. You set up multiple targets, with different files bundled into each one. Then you can set up build schemes that will build either target.
Make sure you make the filename different for each target. Xcode makes a godawful mess of your app files if two targets try to build the same filename. It ends up dumping the resources from both targets into a single file, and gets very confused about build dependencies.
Instead, make each target have a different filename (bundle name) and, if you want them to show up in the springboard with the same name, use the bundle display name setting in your info.plist.
Both approaches are rather complex and fussy to get working correctly. I've done both several times, and still have to puzzle through the different options each time.