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

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

Registering Devices Using Xcode 5

Registering Devices Using 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重新编译创建你的应用程序。就可以安装到你所添加的设备上去了。

时间: 2024-10-03 01:15:29

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

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 a great way to ensure your users re-engage with your app every once in a while, but implementing them on iOS can be challenging, especially with all o

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 recent enough version of iOS to run your application or choose an iOS simulator as the destination. 原因:找不到证书,下图为添加你的证书 No provisioned iOS devices are

IOS Application Security Testing Cheat Sheet

IOS Application Security Testing Cheat Sheet [hide] 1 DRAFT CHEAT SHEET - WORK IN PROGRESS 2 Introduction 3 Information gathering 4 Application traffic analysis 5 Runtime analysis 6 Insecure data storage 7 Tools 8 Related Articles 9 Authors and Prima

IOS Devices Version

游戏项目中有一个专门用于收集IOS崩溃的接口和查询页,运营/测试的同事有时候会通过查询页大概看一下每日崩溃的情况,经常会问iPhone6,1是什么,iPhone7,1又是什么设备?   我从网上仔细搜索了一下,目前最全的是来自维基百科的:List of iOS devices 其中Hardware strings这一栏目前是最全的,iPhone后面第一位数字表示的是第几代iPhone,比如上面的7,表示第7代iphone,也就是iphone6.下面来列一下iphone设备列表   Apple i

iOS——TestFlight Beta Testing

TestFlight Beta Testing makes it easy to invite users to test youriOS 8 apps before you release them on the App Store. You can invite up to 1,000 external testers using just their email address. TestFlight Beta Testing 使得在你的App发布到App Store之前邀请用户测试变得很

iOS 8推送注册方式改变的问题

不久之后iPhone 6/6 plus就会在国内如雨后春笋般遍地开花了.iOS 8早已现行一步,不过有的开发者也注意到了在iOS 8上推送通知的注册方式有所变化,报错提示为 1 registerForRemoteNotificationTypes: is not supported in iOS 8.0 and later. 之后国外有开发者在使用了新的解决方案注册成功后发现在iPhone 6上仍然不能运行.鉴于iPhone 6/6 Plus将在国内开售,我们大可未雨绸缪一下. iOS 8因为改

IOS运行时动态注册字体

在IOS开发中,使用第三方字体,如ttf文件,otf文件,是很简单的.只需要两个步骤.1,讲 ttf文件,otf文件添加到工程根目录中.2,在info.plist中增加字体文件,是字体文件名.在使用时,双击打开字体文件,标题会显示字体名称,使用那个自体名称(setFontName)即可.在android中,是把字体文件拷贝到asset目录中,再使用typeface类根据文件得到其实例. 现在的问题是,在我们玩图的开发中,由于中文字体过大,需要从线上下载,下载到本地使用,这就涉及到一个注册字体问题

【总结】iOS开发申请真机测试设备的一些理由

为什么要申请真机测试?申请真机测试设备的一些原因,或者是iOS开发必须使用真机的一些理由,随便总结了下,大家可以参考参考. 0.作为一个苹果开发者的尊严.自己学习而且资金紧张就算了,如果在公司工作,连个测试设备都没有,我大程序员的颜面何在?(玩笑了O(∩_∩)O~) 1.拍照.视频录制等开发,只能在真机上运行: 2.短信.电话等功能调用,只能在真机上运行: 3.静态库兼容.如果静态库只是i386的,虽然在模拟器上没问题,但在真机上编译都不能通过: 4.运行效率.对于比较复杂的界面,电脑(模拟器)

iOS Getter 和Setter 注册xibcell

// 初始化cell的xib的方式 [tableView registerNib:[UINib nibWithNibName:@"LXmiddleCell" bundle:nil] forCellReuseIdentifier:@"LXmiddleCell"]; LXmiddleCell *cell = [[LXmiddleCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@&q