user13437554
user13437554

Reputation: 71

Getting error installing Provisioning Profile on mac. (Failed to install one or more provisioning profiles on this device)

I have a Xamarin forms ios app with push notifications enabled. It works fine with a Distribution provisioning profile but not with the Development profile. I have uploaded the certificates for Development and Distribution in the Identifier of my app for apple account. Now when I'm downloading and installing the profile which uses the App ID(Identifier), I am getting the below error every time:

Failed to install one or more provisioning profiles on this device.

Please ensure the provisioning profile is configured for this device. If not, please try to generate a new profile.

I am getting this error on installing every profile. mac version is 10.15.4 and Xcode 11.4 (11E146).

I have tried the Download Manual Profiles option in Xcode preferences for my account. Please help me with fixing this blocker.

Upvotes: 7

Views: 7188

Answers (3)

DareDevil
DareDevil

Reputation: 1142

I was facing this issue for Xcode 12.4. I tried following steps to fix it.

  1. Make sure any connected iPhones/devices are unlocked then trying installing again.

  2. Select Xcode => Preferences => Accounts => Sign in with your app specific developer account => and select Download Manual Profiles

  3. Open Devices and Simulators and unpair all paired devices

Upvotes: 1

Lê Cường
Lê Cường

Reputation: 401

In Xcode, open Window > Devices and Simulators > Select Device > Unpair Device (for all devices) open .mobileprovision again. Good luck!

Upvotes: 24

pizzamonster
pizzamonster

Reputation: 1266

Just solved that. Believe this is a bug.

Try this:

  • open Devices and Simulators
  • right click on your iPhone
  • choose "Show Provisioning Profiles"
  • click the plus icon at the bottom and add your profile

After that the profile should install.

Upvotes: 2

Related Questions