Selecting a provisioning profile for Ad Hoc Distri

2019-04-10 14:00发布

Having issues doing this.

It will NOT let me select the provisioning profile to use, instead it defaults to some XC Ad Hoc: * and I cannot change it. The correct profile is selected in the build settings.

I get:

Default Provisioning Profile

1条回答
何必那么认真
2楼-- · 2019-04-10 14:37

I was experiencing the same issue in Xcode 6. I fixed it by:

  1. Go to Apple Developer > Create a new App ID specifically for the app with Explicit App ID like com.mywebsite.MyApp. Don't choose Wildcard App ID option.
  2. Go to Provisioning Profiles > Distribution > Update App ID (for MyApp) to the new one I just created.
  3. Generate a new profile.
  4. Download and install.
  5. It doesn't hurt to Clean before Archive.
  6. Go to Organizer > Export > Save for Ad Hoc Deployment. Xcode will give me an error on the first attempt. I had to click Try Again. That's when it started to pick up the new profile.

Also this thread might be helpful. Good luck.

查看更多
登录 后发表回答