简体   繁体   English

为什么在生成ipa时获得通用Xcode存档?

[英]Why I am getting Generic Xcode Archive while generating ipa?

I am getting This Error While Creating .ipa file With Xcode 6.1.1. 使用Xcode 6.1.1创建.ipa文件时出现此错误。 I have Checked Build Settings as Well: 我也检查了构建设置:

  • 1.Skip install is NO for the main project target 1.对于主项目目标,跳过安装是否
  • Skip install is YES for framework (sub-projects) targets 对于框架(子项目)目标,跳过安装为是
  • In Build Phases for sub-projects, Copy Headers needs to be in Project, not Public (does not apply if building static library) 在子项目的构建阶段中,副本头必须在项目中,而不是公共(在构建静态库时不适用)
  • Installation Directory under Deployment is valid (/Applications for example) 部署下的安装目录有效(例如/ Applications)

Please check the screenshot as well. 请同时检查屏幕截图。 在此处输入图片说明

In Xcode 7 with iOS 9, this was happening to me because an issue with the Cocoapods version I was using (0.38.2). 在具有iOS 9的Xcode 7中,这是发生在我身上的,因为我所使用的Cocoapods版本(0.38.2)出现问题。 The issue is described here: 问题描述如下:

https://github.com/CocoaPods/CocoaPods/issues/4087 https://github.com/CocoaPods/CocoaPods/issues/4087

I was able to get past this by upgrading to the latest cocoapods beta. 我可以通过升级到最新的cocoapods beta来克服这一问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM