简体   繁体   English

XCode通用存档,而不是iOS应用存档

[英]XCode Generic Archive instead of iOS app Archive

My application suddenly stops creating iOS App Archive, instead it begins creating Xcode Generic Archive. 我的应用程序突然停止创建iOS App存档,而是开始创建Xcode通用存档。

This is happening after working on changes for a new release of my app, I've added logical, UI changes and some new frameworks. 这是在为我的新版本的应用程序进行更改之后发生的事情,我添加了逻辑,UI更改和一些新框架。

I reviewed all the "Skip Install" flags for my Project, my Target and also the Pod libraries I'm using. 我查看了项目,目标和正在使用的Pod库的所有“跳过安装”标志。 Everything is ok. 一切都好。 I also made sure the copy header build phase is not including public nor private headers, only project headers. 我还确保复制头构建阶段不包括公共或私有头,仅包括项目头。 I also checked that the "Installation path" is set to a valid path in my project and target, and it's pointing to Applications . 我还检查了“安装路径”是否在我的项目和目标中设置为有效路径,并且它指向Applications

I've not target dependencies on my main target nor Copy Files phase. 我没有在我的主要目标或“复制文件”阶段确定目标依赖性。

Please if any one have found other possible things that cause this error I'd really appreciate your help. 如果有人发现了导致此错误的其他可能原因,请您多多帮助。 FYI I'd already read the following post in StackOverflow: 仅供参考,我已经在StackOverflow中阅读了以下文章:

  1. Cannot generate iOS App archive in xcode 无法在Xcode中生成iOS App存档
  2. Cannot generate iOS App archive in xcode 无法在Xcode中生成iOS App存档
  3. https://developer.apple.com/library/ios/technotes/tn2215/_index.html https://developer.apple.com/library/ios/technotes/tn2215/_index.html
  4. http://pulkitsinghal.blogspot.com.ar/2012/03/wrong-archive-ios-app-archive-vs.html http://pulkitsinghal.blogspot.com.ar/2012/03/wrong-archive-ios-app-archive-vs.html

After spending more than 4 hours on this I found what is happening in my case. 在花费了四个多小时后,我发现我的情况正在发生。 Basically, the problem (Xcode generic archive generation instead of app archive) was caused because of the addition of SASS to preprocess my .css file that I'm using with Pixate. 基本上,问题(Xcode通用存档生成而不是应用程序存档)是由于添加了SASS来预处理我与Pixate一起使用的.css文件而引起的。

I found some minutes ago that there are new instructions to add SASS, and you can find these here Adding SASS to iOS 几分钟前,我发现有添加SASS的新说明,您可以在此处找到这些说明。将SASS 添加到iOS

I had followed the instructions in the Pixate page to add SASS with Pixate but these instructions were causing the default.css file to be generated outside my app .ipa file. 我已经按照Pixate页面中的说明将SASS与Pixate添加在一起,但是这些说明导致在我的应用程序.ipa文件之外生成default.css文件。 As I show in the attached image. 正如我在所附图片中所示。 通用存档->保存内置产品输出 .

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

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