AdHoc 配置 - 向仍在开发中的现有项目添加更多设备的最简单方法是什么?
我有一个项目,我已经研究了一段时间了。它是一个标准的 Xcode/Objective-C iPhone 应用程序。我为我的设备和其他几个设备创建了配置文件。现在我想添加一些人作为测试人员。
我需要下载并安装新的配置文件吗?
我需要更改 Xcode 中的设置吗?
完成这一切最简单的方法是什么?
谢谢!
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?
Do I need to change settings in Xcode?
What's the easiest way to do all this?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您将需要创建、下载和分发新的 .mobileprovision 文件,并重新配置您的项目以使用它:
在 iPhone 开发人员计划门户中,添加新的 设备。
编辑现有的临时分发配置文件并选中复选框将新设备添加到配置文件中。
刷新“分发”选项卡几秒钟,直到配置文件状态从“待处理”更改为“活动”。
刷新“分发”选项卡几
下载修改后的 .mobileprovision 文件,然后将其拖到 Dock 中的 XCode 或 iTunes 图标上来安装它。
下载修改后的 .mobileprovision 文件,
在 XCode 中,右键单击您的目标,执行 Get Info ->构建,并将您的配置更改为分发。
更改代码签名身份下的设置 ->任何 iPhone 操作系统设备都可以使用新的配置文件。请密切注意列表中的日期,并确保使用最新的副本。
通过下一个临时构建将新的 .mobileprovision 文件分发给您的用户。
You will need to create, download, and distribute a new .mobileprovision file, and reconfigure your project to use it:
In the iPhone Developer Program portal, add the new devices.
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.
Download the modified .mobileprovision file, and install it by dragging it onto the XCode or iTunes icon in your dock.
In XCode, right click on your target, do Get Info -> Build, and change your Configuration to Distribution.
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.
Distribute the new .mobileprovision file to your users with your next ad hoc build.
您不必再次重新编译您的项目。事实上,您甚至不必打开 XCode。
您所要做的就是创建一个新的 mobileprovision 文件并将其与现有应用程序一起分发。
您的最终用户必须按此顺序下载并安装新的 mobileprovision 文件和应用程序。
这是步骤一步一步。
You don't have to recompile your project again. In fact you don't even have to open XCode.
All you have to do is create a new mobileprovision file and distribute it with the existing app.
Your end users have to download and install the new mobileprovision file and app, by this order.
Here is a step-by-step.
除非其他人是拥有自己的开发配置文件的 iPhone 开发人员,否则您将需要制作一个临时配置文件并进行构建。
这非常简单...只需按照开发人员门户中的说明进行操作即可。您所要做的就是克隆您的发布配置,更改几行并添加 plist 权利文件(所有内容都在说明中提供)。然后,只需向测试人员发送您创建的版本和配置文件(其中包含他们的设备 ID),他们应该能够将其拖到 iTunes 中进行安装。
如果他们是开发人员和您信任的人,只需向他们提供代码并让他们将捆绑包标识符更改为其开发域中的任何内容即可。
Unless the other people are iphone developers with their own development profile, you will need to make an ad-hoc profile and build.
It is pretty easy... just follow the instructions in the developer portal. All you have to do is clone your release configuration, change a few lines and add a plist entitlements file (all provided in the instructions). Then just send the tester the build and the provisioning profile you create with their device-id included and they should be able to drag it into itunes to install.
If they are developers and people you trust, just give them the code and have them change the Bundle Identifier to whatever is in their development domain.