XCode 6 和不带 XC 的 Ad-Hoc 分发:配置

本教程将介绍XCode 6 和不带 XC 的 Ad-Hoc 分发:配置的处理方法,这篇教程是从别的地方看到的,然后加了一些国外程序员的疑问与解答,希望能对你有所帮助,好了,下面开始学习吧。

XCode 6 和不带 XC 的 Ad-Hoc 分发:配置 教程 第1张

问题描述

昨天我下载了 Xcode 6,现在我遇到了一个我无法解决的问题.在我的会员中心,我有有效的证书和临时配置(分发).直到昨天,在 Xcode 5 中,如果我想将我的 .ipa 添加到 TestFlight,我一直在使用 Archive 并选择我的有效临时配置文件.我什至没有在 Xcode 中登录我的开发者帐户.

现在 - 在 Xcode 6 中 - 根本没有任何工作.好的,我已经登录了首选项,Xcode 在 Mac 上下载了我所有的配置文件,但是每当我选择导出时,它都会说我没有匹配的配置文件,它正在使用 XC: 前缀创建新的配置文件- 我不想使用,因为它包含我在会员中心拥有的所有设备 - 甚至是我不想包含在我的应用中的设备!

我正在尝试这个线程中的所有内容:

我的临时配置文件是分发配置文件.

解决方案

我有一个适合我的解决方法.

我同时安装了 Xcode 6 和 Xcode 5.1.1,Xcode 6 在 Applications 中,Xcode 5.1.1 在另一个目录中.当我想进行构建时,我使用 Xcode 6 来创建存档.但是您也可以在 Xcode 5.1.1 中看到创建的存档,因此我使用 Xcode 5.1.1 使用我想要使用的配置文件分发 Ad Hoc .ipa.所以使用 Xcode 6 构建,但使用 Xcode 5.1.1 分发.它对我有用.

Yesterday I've downloaded Xcode 6 and now I have got a problem I can't solve. In my member center I've got valid certificate and ad-hoc provisioning (distribution). Till yesterday, in Xcode 5 if I wanted to add my .ipa to TestFlight I was using Archive and selecting my valid ad-hoc profile. I wasn't even logged in in my developer account in Xcode.

Now - in Xcode 6 - nothing is working at all. Ok, I've logged in preferences, Xcode downloaded all my provisionings on Mac, but whenever I choose Export it says that I don't have matching provisioning profile and it's creating new provisioning profile with XC: prefix - which I don't want to use, because it contains all devices I have in member center - even those I don't want to include in my app!

I was trying everything from this threads:

Xcode 6 - How to pick signing certificate/provisioning profile for Ad-Hoc distribution?

Xcode 6 GM creating archive

but nothing is working for me. Maybe I don't understand correctly how it works and there is a trick I have to do but I would like to use provisioning profile defined by me. I was trying to create new provisioning profile, rename the old one, remove all from Mac, drag provisioing profile from desktop to Xcode icon, select correct Provisioning Profile in Build Setting all over again but I'm stuck.

Screenshots here:

My Ad-hoc profile is distribution profile.

解决方案

I have a workaround for this that works for me.

I have both Xcode 6 and Xcode 5.1.1 installed, Xcode 6 is in Applications and Xcode 5.1.1 is in another directory. When I want to do a build I use Xcode 6 to create the Archive. But you can also see the created Archive in Xcode 5.1.1 so I use Xcode 5.1.1 to distribute the Ad Hoc .ipa using the provisioning profile that I want to use. So build using Xcode 6 but distribute using Xcode 5.1.1. It works for me.

好了关于XCode 6 和不带 XC 的 Ad-Hoc 分发:配置的教程就到这里就结束了,希望趣模板源码网找到的这篇技术文章能帮助到大家,更多技术教程可以在站内搜索。