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. web前端基础——初识HTML DOM编程

    1 HTML DOM编程概述 文件对象模型(Document Object Model,简称DOM),是W3C组织推荐的处理HTML的标准编程接口.由于HTML文档被浏览器解析后就是一棵DOM树,要改 ...

  2. 配置JDK时环境变量path和JAVA_HOME的作用

    1.PATH环境变量.作用是指定命令搜索路径,在i命令行下面执行命令如javac编译java程序时,它会到PATH变量所指定的路径中查找看是否能找到相应的命令程序.需要把jdk安装目录下的bin目录增 ...

  3. Ninja Blocks物联网平台简介

    Ninja Blocks是一个物联网控制平台,其平台架构包括硬件层.处理器层.软件层以及平台层,请看下图: 最底层是硬件层,包括传感器(Sensors)和驱动器(Actuators),例如温度传感器. ...

  4. UIButton的titleEdgeInsets和imageEdgeInsets属性

    转:http://www.cnblogs.com/huichun/p/3419596.html uiButton控件上自带了一个uiLabel类型的子控件和一个uiImageView类型的子控件,如果 ...

  5. c#之第三课

    学习获取终端输入的参数并且打印,以及使用循环. using System; public class CommandLine { public static void Main(string[] ar ...

  6. 扩展ViewFlow避免和ViewPager滑动冲突,同时支持无限循环,并完美和CircleFlowIndicator结合

    首先,为了避免滑动冲突,我们要继承ViewFlow,重写onInterceptTouchEvent public class MyViewFlow extends ViewFlow { private ...

  7. 【Vegas原创】vlookup的使用方法

    情景: 1,当月移动话单,没有姓名,只有手机号码:(用户费用sheet) 2,IT部自己整理的手机号历史记录,有姓名,有手机号码:(历史信息sheet) 3,要求:需要从历史记录中,透视出当月所有手机 ...

  8. 小米2成功使用google组件的办法(为了coc游戏能登录google账户)

    1) 小米商店里下一个 “谷歌应用下载器”2) 用"谷歌应用下载器"安装相应的服务和应用(跟着提示把所有的服务都更新到最新版本就可以了,第3和第4可以不做)3) 小米商店里下一个 ...

  9. 用CAKeyframeAnimation构建动画路径

    复杂路径的动画,我们可以借助关键关键帧动画(CAKeyframeAnimation)来实现,给其的path属性设置相应的路径信息即可. 以下为一个红色的小球按照指定的路径运动的动画. 此动画关键在于如 ...

  10. Ext JS 6 新特性和工具

    Ext JS 6 新特性和工具 Ext JS 6 带来很多新特性.工具和改进.以下是一些亮点: • 合并了 Ext JS & Sencha Touch - 在 Ext 6, 你可以访问 Ext ...