开发者

iOS: Universal App - Release as iPhone only

开发者 https://www.devze.com 2023-03-02 02:46 出处:网络
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.

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.

iOS: Universal App - Release as iPhone only

In the latest xcode you can do this by summary screen too.

iOS: Universal App - Release as iPhone only

Thanks


It'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/

0

精彩评论

暂无评论...
验证码 换一张
取 消