Search code examples
iosxcodeprovisioningprovisioning-profileudid

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


I know how to add from the web portal, but this particular provisioning profile is marked as "Managed by Xcode", therefore, I need to either stop managing from xcode or add a UDID into the profile from Xcode.

I cannot find any way to "stop managing" in Xcode.

In Xcode, I know how to add the device by tethering to my laptop and refreshing, but I don't see any option to add a UDID.


Solution

  • 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?