如何在没有Apple Developer帐户的情况下在xcode 6中创建ipa? [英] How to create ipa in xcode 6 without Apple Developer account?

查看:954
本文介绍了如何在没有Apple Developer帐户的情况下在xcode 6中创建ipa?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

需要为Ad-Hoc分发生成 .ipa 文件。客户端只提供了证书,私钥和配置文件,足以创建 .ipa 直到Xcode 5.但在Xcode 6.1中我导出为保存对于Ad Hoc Deployment ,它会给出消息

Need to generate .ipa file for Ad-Hoc distribution. Client has provided only certificates, private keys and provisioning profiles which were enough to create .ipa till Xcode 5. But in Xcode 6.1 when I export as Save For Ad Hoc Deployment it gives message

To save for Ad Hoc Deployment, you need to add an Apple ID account that is enrolled in the iOS Developer Program for the development team 'xxxxxxxxxx'


有没有办法在没有开发者帐户的情况下创建 .ipa 凭证?

Is there any way of creating .ipa without developer account credentials?

推荐答案

最后找到了一种方法来创建 .ipa build with xcodebuild 命令。

Finally found a way for creating .ipa build with xcodebuild command.


  1. 右键单击Organizer上的存档

  2. 点击在Finder中显示

  3. 您可以在Finder中看到 .xcarchive 文件。

  1. Right click on Archive on Organizer.
  2. Click Show in Finder.
  3. You can see .xcarchive file in Finder.

打开终端 cd .xcarchive 路径。

这将在桌面上保存 .ipa

xcodebuild -exportArchive -exportFormat ipa -archivePath <FILE_NAME>.xcarchive -exportPath ~/Desktop/<FILE_NAME>.ipa

仍在寻找更好的解决方案,不知道为什么Apple从Xcode 6中删除了这个功能:(

Still looking for better solution, don't know why Apple removed this feature from Xcode 6 :(

这篇关于如何在没有Apple Developer帐户的情况下在xcode 6中创建ipa?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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