xcode 将通用应用程序作为 iPad 专用应用程序提交给 Apple
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2706215/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Submit an universal app as iPad only app to Apple
提问by Flocked
I created an universal app with the window template in xcode. Now I want submit just the iPad version of my app, because the iPhone version is not yet fully programmed.
我使用 xcode 中的窗口模板创建了一个通用应用程序。现在我只想提交我的应用程序的 iPad 版本,因为 iPhone 版本尚未完全编程。
How is this possible? What do I have to change? (target settings, info.plist, etc.?)
这怎么可能?我需要改变什么?(目标设置、info.plist 等?)
回答by Brian King
Two things. First is remember you have settings for active target, and project. I'm not sure which place things shouldbe, but I made these on the target.
两件事情。首先是记住你有活动目标和项目的设置。我不确定东西应该放在哪个地方,但我在目标上做了这些。
Set 'Build Active Target Only' to true.
Set 'Target Family Device' to iPad.
将“仅构建活动目标”设置为 true。
将“目标家庭设备”设置为 iPad。
You'll know this worked because the number of compilations will be cut in half, and when you upload to iTunes Connect it won't require an iPhone screen shot.
您会知道这是有效的,因为编辑的数量将减少一半,而且当您上传到 iTunes Connect 时,它不需要 iPhone 屏幕截图。
回答by Martytoof
When you submit to Apple, you can choose to limit it to certain platforms during the upload process.
当您提交给 Apple 时,您可以选择在上传过程中将其限制为某些平台。