iOS:通用应用程序 - 仅作为 iPhone 发布
客户有兴趣发布通用应用程序。不过,第一个版本将仅包含 iPhone 版本,第二个版本将包含两个版本。
我找到了一些链接,其中 ppl 弄清楚了如何在模拟环境中进行这项工作。但是,我找不到有关最终成功发布到 AppStore 的应用程序的声明。我需要验证这一点。
您是否有声称只为 iPhone 发布通用应用程序的人的链接,还是您自己制作的?
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?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在应用程序的
构建设置
中,将目标设备系列
更改为iPhone,而不是iPhone/iPad。在最新的 xcode 中,您也可以通过摘要屏幕执行此操作。
谢谢
In the application's
Build Settings
change theTargeted Device Family
to iPhone, instead of iPhone/iPad.In the latest xcode you can do this by summary screen too.
Thanks
不可能通过 iTunes Connect 只发布 iPhone 版本,但您可以将第一个版本的目标设备设置为 iPhone-only,并且只会针对 iPhone/iPod touch 发布。
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.
您需要进行两项更改。首先,将目标设备系列设置回 iPhone。其次,在信息 plist 中删除Main nib file base name (iPad) 条目。如果您不执行最后一步,它将像 iPhone 应用程序一样运行(带有 2x 按钮的小视图端口),但您的 iPad 主窗口和委托将被触发。
这是一篇更详细的文章,其中包含一些用于说明的图像:
http: //www.fullboarcreative.com/labs/2012/04/20/tip-going-from-a-universal-to-single-device-app/
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/