Xcode 7 GM创建了通用存档而不是iOS应用存档 [英] Xcode 7 GM created generic archive instead of iOS app archive

查看:107
本文介绍了Xcode 7 GM创建了通用存档而不是iOS应用存档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近开始使用Xcode 7 GM. 归档项目时,我得到的是通用Xcode归档文件,而不是iOS归档文件.

I recently started using Xcode 7 GM. When I archive my project, I get a generic Xcode archive instead of an iOS archive.

我几乎尝试了以下所有方法:

I'ved tried pretty much all the following:

  • xcode is creating generic xcode archive instead of iOS App Archive
  • Cannot generate iOS App archive in xcode

我比较了先前成功归档的内容和某些组件的不同文件夹结构:

I compared the contents of a previous successful archive and a different folder structure for some components:

  • Swift库位于子文件夹内
  • 该应用程序扩展名在.app软件包之外
  • info.plist缺少密钥

还有其他人遇到此问题吗?如果是这样,您是否解决了以及如何解决?

Has anyone else encountering this problem? If so, did you solve and how?

我们正在使用Cocoapods 0.38.2

We are using Cocoapods 0.38.2

推荐答案

此处为OP. 我团队的成员都尝试了Cocoapods的beta版,这为我们解决了这个问题.因此,我将接受自己的答案.

OP here. The members of my team all tried Cocoapods' beta and it fixed the problem for us. Therefore I'm going to accept my own answer.

尽管这可能会解决问题,但我相信Christian Navelot的回答是不可扩展的,并且肯定无法在团队内部进行管理.

Although it might fix the problem, I believe Christian Navelot's answer to not be scalable and certainly not manageable within a team.

此外,我们所有人都尝试使用cp beta而不删除Copy Pod Resources构建阶段.这意味着我也不会接受托德·安德森的回答.

Also, all of us tried using the cp beta without removing the Copy Pod Resources build phase. This means that I won't be accepting Todd Anderson's answer either.

我们也不使用静态库,而是使用框架(Podfile中的aka use frameworks!).

We are not using static libraries either, we are using frameworks (aka use frameworks! inside the Podfile).

感谢所有人对此问题做出的贡献.看起来我们都被Xcode 7放到了同一条船上! 干杯!

Thanks to all for contributing to this question. Looks like we all got put into the same boat by Xcode 7! Cheers!

这篇关于Xcode 7 GM创建了通用存档而不是iOS应用存档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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