简体   繁体   English

无法使用Xcode 4.2存档Ad-Hoc分发

[英]Can't Archive Ad-Hoc Distribution with Xcode 4.2

I followed these two guides to create an .ipa file for Ad-Hoc distribution. 我按照这两个指南创建了一个用于Ad-Hoc分发的.ipa文件。

For some reason the Project > Archive button is grayed out and the archive doesn't show up in Organizer. 由于某种原因,项目>存档按钮显示为灰色,存档未显示在管理器中。

Any suggestions would be much appreciated. 任何建议将不胜感激。

Are you building it for simulator. 你在为模拟器构建它吗? You must select the option of device iPad/iPhone as you can not create .ipa for simulators. 您必须选择设备iPad / iPhone选项,因为您无法为模拟器创建.ipa。

Maybe your current build configiuration is "Simulator"? 也许您当前的构建配置是“模拟器”? It needs to be device build to activate "Build and Archive" 它需要是设备构建来激活“构建和存档”

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

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