xcode 如何添加新设备进行测试并制作新的测试证书

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10360737/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 00:07:32  来源:igfitidea点击:

how to add New device for testing and make a new certificate for testing

iosxcode

提问by user1360291

I have a exiting certificate for testing on device but i have added a new device for testing so how may create a new provisioning so that i can test the app on new device also

我有一个用于在设备上测试的现有证书,但我添加了一个新设备进行测试,因此如何创建新的配置以便我也可以在新设备上测试应用程序

回答by Maxim Mikheev

If you need to add a testing device, you should go to developer.apple.com-> Member Center-> iOS Provisioning Portal-> Select Deviceson the left tab menu-> Press Add Devicebutton -> insert test device UDID and save this new device.

如果你需要添加测试设备,你应该去developer.apple.com-> Member Center-> iOS Provisioning Portal->在左边的标签菜单中选择Devices-> 按Add Device按钮 -> 插入测试设备 UDID 并保存这个新设备。

After that you need to go to Provisioningsection (on the left tab menu) and create new or edit existing development and distribution provisioning profiles. After that download new development and distribution provisioning profiles on your development Mac, add this profiles in Xcode Organizer to your test devices (iPhones of iPods) and update Target settings of your application project for Code signing (Select your Target-> Build Settings-> Code signing Identityoption).

之后,您需要转到Provisioning部分(在左侧选项卡菜单上)并创建新的或编辑现有的开发和分发配置文件。在您的开发 Mac 上下载新的开发和分发配置文件后,将此配置文件在 Xcode Organizer 中添加到您的测试设备(iPod 的 iPhone)并更新您的应用程序项目的目标设置以进行代码签名(选择您的目标->构建设置->代码签名身份选项)。

Thats all - now you can run your app on test devices. I would also recommend you to look at TestFlightservice, which can provide you a useful way of over-the-air application builds distribution.

这就是全部 - 现在您可以在测试设备上运行您的应用程序。我还建议您查看TestFlight服务,它可以为您提供一种有用的无线应用程序构建分发方式。

Hope that will help you! :)

希望能帮到你!:)

回答by Dinesh

Try to follow instruction for add new device for testing:

尝试按照说明添加新设备进行测试:

This worked for me:

这对我有用:

  1. Login to your iphone provisioning portal through developer.apple.com
  2. Add the UDID in your iphone device Go back to XCode, open up the Organizer and
  3. select "Provisioning Profiles", ensure that "Automatic Device
    Provisioning" is checked on the top right pane, then click on the
    "Refresh" button, and magically all your devices set in the
    provisioning portal will be automatically added.
  1. 通过developer.apple.com登录您的 iphone 配置门户
  2. 在您的 iphone 设备中添加 UDID 返回 XCode,打开管理器并
  3. 选择“Provisioning Profiles”,确保
    在右上角的窗格中选中“Automatic Device Provisioning”,然后单击
    “Refresh”按钮,神奇的是,您在
    配置门户中设置的所有设备都会自动添加。

Thanks...!

谢谢...!