http://support.smartbear.com/viewarticle/63764/

Applications developed using the iOS Developer Program (not the iOS Developer Enterprise Program) can be tested only on devices specified in the provisioning profile for the application. Application developers need to add devices to the profile before building the .ipa file for distribution. The developers can also register new devices later and rebuild the application with the updated provisioning profile.

ios developer program开发的应用程序可以不进行开发而只在通过provisioning profile的设备上进行测试。应用程序开发者需要在创建ipa文件用于发布前将这些设备添加到profile中去。开发者也可以在之后注册新的设备并且使用更新的provisioning profile来重新创建工程。

To add devices to a provisioning profile, you can use either Xcode on the development Mac (the device must be connected to the Mac) or Apple’s Member Center web site. You need to do this regardless of how you instrument your application.

为了将devices添加到provisioning profile中,你可以使用在mac上使用xcode或者apple的member center站点。

Registering Devices Using Xcode 6

Xcode 6 automatically finds the connected devices. If necessary, it opens a dialog that you can use to add a device to your team development profile.

xcode 6会自动找到连接的设备,如果需要的话,他会打开对话框让你添加设备到你的team development profile中去。

Registering Devices Using Xcode 5

If you build an application with a team development profile managed by Xcode (for example, the iOS Team Provisioning Profile), you can use Xcode 5 to register test devices connected to the computer.

  • Connect the device to your development Mac.

  • From Xcode’s menu, select Window | Organizer.

  • Switch to the Devices tab.

  • Select the connected device under the Devices section on the left.

  • Click the Use for Development button or (if it does not appear) the Add to Member Center button at the bottom of the window.

    Click the image to enlarge it.

  • In the dialog that appears, select the check box next to your developer program account and click Choose.

    Xcode will register the device in the Member Center, add it to your team development profile and automatically download the updated profile.

    Note: If you get an error on this step, troubleshoot and fix the problem, and then repeat the steps.

After registering the test devices, rebuild your application with the updated profile so that it can be installed on these devices.

Registering Devices Using Member Center

You can use Apple’s Member Center web site to register test devices that are not connected to the computer.

Note: You must be a team agent or a team admin to do this.

First, you add the test devices to your development program account. To add a device:

  • Get the device identifier (UDID).

  • 获取device identifier UDID
  • Open the Devices section of the Member Center:

  • http://developer.apple.com/ios/manage/devices/index.action

  • 在member center中打开devices节
  • Click the  button in the upper-right corner.

  • 选择右上方的加号
  • Select the Register Device radio button.

  • 选择注册device按钮
  • Enter the device name and UDID.

  • 输入device名称和udid
  • Click Continue and then Register.

  • 点击continue并且选择注册

Then add the device to the application’s provisioning profile.

然后将设备添加到应用程序的provisioning profile中去。

  • From the menu on the left, select Provisioning Profiles.

  • 在菜单左侧选择provisioning profiles
  • Select the profile to which you want to add the device and click Edit.

  • 选择你想添加设备的profile然后选择edit
  • In the Devices list, select all the devices where you want to test the application.

  • 在devices列表中,选择你想测试用的所有设备
  • Click the image to enlarge it.

  • Click Generate to save the changes.

  • 点击生成来保存更改
  • Download the updated profile.

  • 下载更新的profile
  • Double-click the downloaded .mobileprovision file to add the profile to Xcode.

  • 双击下载的.mobileprovision文件来将profile添加到xcode中

After that, rebuild your application with the updated profile so that it can be installed on the added devices.

完成所有以上的操作后,利用更新的profile重新编译创建你的应用程序。就可以安装到你所添加的设备上去了。

Registering iOS Devices for Testing - 注册测试设备的更多相关文章

  1. Send Push Notifications to iOS Devices using Xcode 8 and Swift 3, APNs Auth Key

    Send Push Notifications to iOS Devices using Xcode 8 and Swift 3 OCT 6, 2016 Push notifications are ...

  2. IOS Application Security Testing Cheat Sheet

    IOS Application Security Testing Cheat Sheet    [hide]  1 DRAFT CHEAT SHEET - WORK IN PROGRESS 2 Int ...

  3. IOS Devices Version

    游戏项目中有一个专门用于收集IOS崩溃的接口和查询页,运营/测试的同事有时候会通过查询页大概看一下每日崩溃的情况,经常会问iPhone6,1是什么,iPhone7,1又是什么设备?   我从网上仔细搜 ...

  4. No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a

    No provisioned iOS devices are available with a compatible iOS version. Connect an iOS device with a ...

  5. 敏捷个人手机应用iOS和Android公开注册

    敏捷个人手机应用iOS出炉了,现在免费公开注册,截止时间到4月20日,注册时的邀请码是7个字符: 1.admin Android下载地址:http://agileme-download.qiniudn ...

  6. iOS - Sign up/in 注册/登录

    1.Sign up/in 1.1 用户登录安全原则 不能在网络上传输用户隐私数据的明文. 不能在本地和服务器上存储用户隐私数据的明文. 1.2 用户登录流程 登录成功之后,应该跳转视图控制器到主页. ...

  7. iOS 远程推送注册的小问题

    iOS8有了新方法,用新方法后,用7.0版本运行会奔溃.只要加一句判断就ok: #ifdef __IPHONE_8_0 // 在 iOS 8 下注册苹果推送,申请推送权限. UIUserNotific ...

  8. IOS中使用手机号注册

    #import <Foundation/Foundation.h>#import <UIKit/UIKit.h>@interface KCVVerify : NSObject ...

  9. iOS Getter 和Setter 注册xibcell

    // 初始化cell的xib的方式 [tableView registerNib:[UINib nibWithNibName:@"LXmiddleCell" bundle:nil] ...

随机推荐

  1. hdu 2955 01背包

    http://acm.hdu.edu.cn/showproblem.php?pid=2955 如果认为:1-P是背包的容量,n是物品的个数,sum是所有物品的总价值,条件就是装入背包的物品的体积和不能 ...

  2. 爬虫神器xpath的用法(一)

    1.如果你没有安装lxml,请运行pip install lxml或者easy_install lxml安装,如果在安装过程中失败的话, 是因为lxml需要依赖某些库文件,具体可以问下度娘,这里不再赘 ...

  3. c++ const放置的位置

    标准中int const a 与 const int a 是完全等价的.正因为如此,会有很多各种不同的风格,同样的还有"*是跟类型还是变量?",比如char* p与 char *p ...

  4. cmd for 循环拷贝文件

    这几天忙活部署测试环境, 中途需要拷贝 文件, 直接贴code吧: ::/定义原路径 set source=seventrat_test_backend,seventrat_test_frontend ...

  5. Android酷炫实用的开源框架——UI框架(转)

    转载别人整理好的文章,列出了很多炫酷的UI开源设计 原文地址:http://www.androidchina.net/1992.html 1.Side-Menu.Android分类侧滑菜单,Yalan ...

  6. GoldenGate 配置extract,replicat进程自启动

    在GoldenGate中主进程是manager进程,使用start mgr启动.可以在mgr进程中添加一些参数用来在启动mgr进程的同时启动extract和replicat进程 GGSCI (gg01 ...

  7. WPF快速精通版

    命名空间: xmlns:sys="clr-namespace:System;assembly=mscorlib" xmlns:local="clr-namespace:U ...

  8. Asp.net Core CacheHelper 通用缓存帮助类

    using System; using Microsoft.Extensions.Caching.Memory; using System.Runtime; namespace UFX.Tools { ...

  9. WCF实例上下文模式与并发模式对性能的影响

    实例上下文模式 InstanceContextMode 控制在响应客户端调用时,如何分配服务实例.InstanceContextMode 可以设置为以下值: •Single – 为所有客户端调用分配一 ...

  10. eclipse 运行报java.lang.OutOfMemoryError: PermGen space解决方法

    一.在window下eclipse里面Server挂的是tomcat6,一开始还是以为,tomcat配置的问题,后面发现,配置了tomcat里面的catalina.bat文件,加入 set JAVA_ ...