简体   繁体   中英

Installing provisioning profile on device does nothing xcode 6

I have a valid provisioning profile, the program I'm running works fine on one of my iPhones. However, for some reason I cannot add it to my other iPhone. Here's how it looks:

显示配置文件 Show provisioning profile

单击以添加一个 Click to add one

选择我的配置文件 Select my provisioning profile

Aaaaa没有任何反应 Aaaaaand nothing happens

Has anyone else experience a similar problem or does anyone know what might be the solution? As of just now it just seems that xcode is unresponsive.

Rkey, I had this same problem. If you haven't found a solution, this is how I solved mine. Instead of trying to install a provisioning profile by yourself, run the app on the device without trying to set it up yourself. Now, if I'm not mistaken, you'll get the "no provisioning profile found for this executable" message or something like that.

You need to change the Code Signing Identities in the build settings of your Xcode6. Change everything [Code signing identity, Debug, Any SDK, Any iOS SDK, Release, Any iOS SDK)to iOS Developer and set Provisioning Profile to Automatic.

After that, if you try to run the app on the phone again, the prompt will give you an option to "Fix Issue" and clicking on "fix issue" solves the problem.

Hope it works for you.

  • Go to apple portal and add all the required devices there.
  • Then go to the provisioning profile you want to download, edit it and make sure the following things:

  • The App ID associated with the provisioning profile and your App ID in the info.plist is the same.

  • All the required devices are included in this profile(they are checked marked for the profile).
  • Check the associated provisioning profile certificate is valid and you have a private key pair for that certificate.

  • In xcode settings select the provisioning profile and code signing identity(the certifcate) for the scheme you are running the application.

Updated answer for XCode 10 ... See here: https://stackoverflow.com/a/52434756/3216970

Ran into this w/an Ionic app initially created w/XCode 9. Absolutely none of the usual fixes for automatic/manual profiles or certificates worked.

The issue was with XCode 10's "new & improved" Build System. It just doesn't work w/older projects, and none of the error messages actually explain why.

Go to File -> Workspace Settings.

Change Build System to "Legacy Build System"

Now magically the Provisioning Profiles show up on your device and you can deploy the app you needed to get on a device 3 hours ago when you started messing with this provisioning BS for the umpteen-dozenth time. Thanks Apple.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM