无法在xcode中生成iOS App存档 [英] Cannot generate iOS App archive in xcode

查看:143
本文介绍了无法在xcode中生成iOS App存档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在从应用程序生成iOS App存档时遇到问题。应用程序编译得很好,甚至在模拟器中工作。现在我想进行som临时测试,无法生成iOS App Archive。当我点击Product - > Archive时,它会生成一个通用的xcode存档。谁能帮我。我应该提一下,我已经生成了这个应用程序的iOS App Archive。由于某种原因它刚刚停止生成iOS Archive。非常感谢。

I have a problem generating a iOS App archive from an application. The application compiles just fine and even works in the simulator. Now I wanted to make som ad hoc testing and cannot generate the iOS App Archive. When I click on the Product -> Archive it generates a generic xcode archive. Can anyone help me. I should mention, that I have already generated an iOS App Archive of this application. It has just stopped to generate iOS Archive for some reason. Thanks a lot.

推荐答案

检查构建设置:


  1. 主要项目目标的跳过安装为NO。

  2. 框架(子项目)目标的跳过安装为YES

  3. 在Build中子项目的阶段,复制标题需要在项目中,而不是公共(如果构建静态库则不适用)

  4. 部署下的安装目录有效( /应用程序例如)

  1. Skip install is NO for the main project target
  2. Skip install is YES for framework (sub-projects) targets
  3. In Build Phases for sub-projects, Copy Headers needs to be in Project, not Public (does not apply if building static library)
  4. Installation Directory under Deployment is valid (/Applications for example)

这篇关于无法在xcode中生成iOS App存档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆