Registering iOS Devices for Testing - 注册测试设备

时间:2022-08-26 21:56:41

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.

    Registering iOS Devices for Testing - 注册测试设备

    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:

  • Registering iOS Devices for Testing - 注册测试设备http://developer.apple.com/ios/manage/devices/index.action

  • 在member center中打开devices节
  • Click the Registering iOS Devices for Testing - 注册测试设备 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列表中,选择你想测试用的所有设备
  • Registering iOS Devices for Testing - 注册测试设备

    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. Java Swing事件处理机制

    Java Swing的事件处理机制 Swing GUI启动后,Java虚拟机就启动三个线程,分别为主线程,事件派发线程(也是事件处理线程)和系统工具包线程. 主线程 :负责创建并显示该程序的初始界面: ...

  2. Postgresql:prepared statement &quot&semi;S&lowbar;1&quot&semi; already exists

    近期由于业务需要和一些json的存储查询需要,把新的应用切到pgsql上来,刚刚切好,是可以正常使用的,但是偶尔会来一下 java连接pgsql 偶尔出现 这个错.   org.postgresql. ...

  3. 杭电1142(最短路径&plus;dfs)

    A Walk Through the Forest Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Jav ...

  4. Node Sass could not find a binding for your current environment 解决办法

    具体错误如下: 解决办法: 命令行执行  npm rebuild node-sass  命令(如果不行,则先运行npm install node-sass命令执行再执行 npm rebuild nod ...

  5. 面试必问Elasticsearch倒排索引原理

    本文摘抄自我的微信公众号"程序员柯南",欢迎关注!原文阅读 倒排索引是目前搜索引擎公司对搜索引擎最常用的存储方式,也是搜索引擎的核心内容,在搜索引擎的实际应用中,有时需要按照关键字 ...

  6. 稀疏矩阵 part 3

    ▶ 各种稀疏矩阵数据结构下 y(n,1) = A(n,m) * x(m,1) 的实现,CPU版本 ● MAT 乘法 int dotCPU(const MAT *a, const MAT *x, MAT ...

  7. Spring Boot 2&period;x 启动全过程源码分析(上)入口类剖析

    Spring Boot 的应用教程我们已经分享过很多了,今天来通过源码来分析下它的启动过程,探究下 Spring Boot 为什么这么简便的奥秘. 本篇基于 Spring Boot 2.0.3 版本进 ...

  8. 【转】Android多进程总结一&colon;生成多进程&lpar;android&colon;process属性&rpar;

    前言 正常情况下,一个apk启动后只会运行在一个进程中,其进程名为apk的包名,所有的组件都会在这个进程中运行,以下为DDMS的进程截屏: com.biyou.multiprocess为进程名,也是a ...

  9. 写出java8实现对List&lt&semi;User&gt&semi;中的username字段过滤出不等于张三的数据

    写出java8实现对List<User>中的username字段过滤出不等于张三的数据... 对...这个是一道面试题.当时没有看过java8的新特性...所以有点懵. 看完之后感觉 真. ...

  10. 如何彻底卸载Jenkins(Windows版本)

    起因: 最近在做持续集成测试过程中遇到一个问题,之前部署的Jenkins管理员密码忘了之后无法登陆,而且删除掉tomcat下webapps文件夹中的Jenkins目录后,再次安装Jenkins后相关的 ...