A customer is interested in releasing a universal app. However, the first release will contain only the iPhone version, the second release will contain both versions.
开发者_运维问答I found a few links where ppl figured out how to make this work in the simulation environment. However, i could not find claims about apps that finally were released to the AppStore successfully. I need verification of this.
Do you have links of people claiming to have universal apps released for iphone only or did you do it yourself?
In the application's Build Settings
change the Targeted Device Family
to iPhone, instead of iPhone/iPad.
In the latest xcode you can do this by summary screen too.
ThanksIt's not possible to only release the iPhone version via iTunes Connect, but you can set the Target Device to iPhone-only for the first version and it'll only be released for iPhone/iPod touch.
You need to make two changes. First, Set the Target Device Family back to iPhone. Second, in the info plist remove the Main nib file base name (iPad) entry. If you don't do that last step it will run as though it was an iPhone app (small view port with 2x button) but your iPad main window and delegate will be triggered.
Here is a more details post with some images for illustration: http://www.fullboarcreative.com/labs/2012/04/20/tip-going-from-a-universal-to-single-device-app/
精彩评论