ios: How do I add a new UDID to provisioning profile without a tethered device?

核能气质少年 提交于 2019-12-03 06:21:03
matzino

Connect the phone to your mac and open XCode. Then click under Window->Organizer under Devices you must see your connected phone. There is an Button named "use for Development". Click this and after a few seconds the UDID must be in your team profile and you can install the app.

IMO you cant add devices to your team-provisioning-profile without connected to your mac, if this profile is managed by xcode. Alternative make an ad-hoc-provisioning-profile.

Hope that helps?

mobibob

Here is what worked (multiple times now) ...

  • (Web) Login to Apple Developer > Member Center > iOS Provisioning > Add Devices
  • Add UDID with a meaningful name
  • Create a Provisioning Profile that includes all of your registered devices
  • (Xcode) Go back to the Organizer
  • Select the Provisioning Profiles section and select the specific profile
  • Check the box "Automatic Device Provisioning"
  • Press the Refresh button

Voila!

If you simply add the device's UDID to the developer portal, it will be automatically be added to ALL provisioning profiles. You can confirm this by downloading the profile and inspecting it (in plain text editor).

Go to: https://developer.apple.com/account/ios/profile/edit

  • Click All

  • Pick profile

  • Click edit
  • Select missing device

  • Click generate
  • Go to Xcode -> Preferences -> Accounts
  • Select your account and click View Details

  • Click Download All
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!