Xcode 6 - 如何为Ad-Hoc分发选择签名证书/配置文件? [英] Xcode 6 - How to pick signing certificate/provisioning profile for Ad-Hoc distribution?

查看:176
本文介绍了Xcode 6 - 如何为Ad-Hoc分发选择签名证书/配置文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

要将应用程序分发给我们的测试人员,我们使用Xcode,我们使用以下过程:

To distribute the app to our testers we use Xcode, which we do using the following process:


  • 存档应用程序

  • 为Ad-Hoc分发

  • 选择配置文件

  • 将.ipa保存到文件夹

  • Archive application
  • Distribute for Ad-Hoc
  • Choose provisioning profile
  • Save the .ipa to a folder

但是 Xcode 6 ,这个工作流程发生了一些变化。我仍然可以选择Ad-Hoc分发选项,但我无法选择我想要的配置文件。这使我们无法控制使用哪个签名证书和配置文件配置(我们使用推送通知)。

But with Xcode 6, this workflow was changed a bit. I can still select the Ad-Hoc distribution option, but I cannot select the provisioning profile I want. This gives us no control over which signing certificate is used and the provisioning profile configuration (we use push notifications).

默认 iPhone发行

By default iPhone distribution signing identity is used and some kind of XC Ad Hoc provisioning profile is generated, which can be seen on image below: If you click the arrow near provisioning profile, it opens the folder with provisioning profiles.

所以我的问题是:

Xcode 6中有没有办法选择Ad Hoc发行版使用的配置文件?

谢谢!

推荐答案

我遇到同样的问题,已解决使用命令行xcodebuild工具脚本,它预装了XCode6(不需要重新安装XCode5)。

I was facing same issue, resolved using command line "xcodebuild" tool script, which is preinstalled with XCode6 (didn't need to re-install XCode5).

http://www.thecave.com/2014/09/16/using-xcodebuild-to-export-a-ipa-from-an-archive/

终端中的脚本:

xcodebuild -exportArchive -archivePath $projectname.xcarchive -exportPath $projectname -exportFormat ipa -exportProvisioningProfile 'Provisioning Profile Name'

这篇关于Xcode 6 - 如何为Ad-Hoc分发选择签名证书/配置文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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