Apple 文档用于存档 iPhone 应用程序的“跳过安装构建设置”是否不正确?
遵循苹果文档时 此处用于归档应用程序,即将“跳过安装构建设置”设置为是的,当我执行“产品”->“存档”时,它不会显示在“管理器/存档”中。
但是,如果我忽略 doco 并将“跳过安装构建设置”保留为“否”,那么我确实会在管理器中看到生成的存档。
问题 - 我应该使用什么设置来确保存档适合分发?如果答案是将其设置(即“跳过安装构建设置”)为“是”,那么我如何解决这种情况下的存档未出现在管理器中的事实?
When following the apple doco here for archiving an application, i.e. setting "Skip Install build setting" to YES, when I do then go Product->Archive it does not show up in Organizer/Archives.
However if I ignore the doco and leave "Skip Install build setting" as NO, then I do get a resultant archive appearing in Organizer.
Question - What setting should I be using to make sure the archive is good for distribution? If the answer is by setting (ie. "Skip Install build setting" ) it to YES, then how do I get around the fact the archive in this case doesn't appear in Organizer?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您应该为方案中除应用程序之外的所有目标(即框架和库等所有依赖项)设置
SKIP_INSTALL
构建设置。不要将其设置为应用程序目标本身。You should set the
SKIP_INSTALL
build setting for all targets in a scheme but your application, i. e. for all dependencies like frameworks and libraries. Don’t set it for the application target itself.