Selecting a provisioning profile for Ad Hoc Distribution in Xcode 6

社会主义新天地 提交于 2019-12-06 04:13:14

问题


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:


回答1:


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.



来源:https://stackoverflow.com/questions/26522793/selecting-a-provisioning-profile-for-ad-hoc-distribution-in-xcode-6

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