iOS: Universal App - Release as iPhone only

2019-03-17 16:15发布

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?

3条回答
做自己的国王
2楼-- · 2019-03-17 17:02

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.

查看更多
Animai°情兽
3楼-- · 2019-03-17 17:09

In the application's Build Settings change the Targeted Device Family to iPhone, instead of iPhone/iPad.

Targeted Device Family

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

enter image description here Thanks

查看更多
地球回转人心会变
4楼-- · 2019-03-17 17:14

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/

查看更多
登录 后发表回答