AdHoc配置 - 向仍在开发中的现有项目添加更多设备的最简单方法是什么?

问题描述:

我有一个项目,我已经工作了一段时间。它是标准的Xcode / Objective-C iPhone应用程序。我为我的设备和其他几个人创建了配置文件。现在我想添加一些人作为测试人员。

I have a project that I've been working on for a while. It is a standard Xcode/Objective-C iPhone app. I created the provisioning file for my device and a couple others. Now I would like to add a few people as testers.

我是否需要下载并安装新的配置文件?

Do I need to download and install a new provisioning file?

我是否需要更改Xcode中的设置? ?

Do I need to change settings in Xcode?

最简单的方法是做什么?

What's the easiest way to do all this?

谢谢!

您需要创建,下载和分发新的.mobileprovision文件,并重新配置您的项目才能使用它:

You will need to create, download, and distribute a new .mobileprovision file, and reconfigure your project to use it:


  1. 在iPhone Developer Program门户中,添加新的设备

编辑现有的临时分发配置文件并选中复选框以将新设备添加到配置文件中。

Edit your existing ad hoc distribution provisioning profile and check the boxes to add the new devices to the profile.

刷新分配选项卡几秒钟,直到配置文件状态从待处理更改为活动。

Refresh the Distribution tab for a few seconds until the profile status changes from Pending to Active.

下载修改后的.mobileprovision文件,并将其拖放到Dock中的XCode或iTunes图标上进行安装。

Download the modified .mobileprovision file, and install it by dragging it onto the XCode or iTunes icon in your dock.

在XCode中,右键单击在您的目标上,执行获取信息 - >构建,并将配置更改为分发。

In XCode, right click on your target, do Get Info -> Build, and change your Configuration to Distribution.

更改代码签名标识下的设置 - >任何iPhone OS设备使用您的新配置文件。请密切关注列表中的日期,并确保使用最新的副本。

Change the setting under Code Signing Identity -> Any iPhone OS Device to use your new provisioning profile. Pay close attention to the dates in the list and make sure you use the most recent copy.

使用下一个广告向您的用户分发新的.mobileprovision文件特别构建。

Distribute the new .mobileprovision file to your users with your next ad hoc build.