Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

ios

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.

like image 621
user13437554 Avatar asked Apr 30 '20 05:04

user13437554


People also ask

What is an Apple provisioning profile?

Overview. The profiles resource represents the provisioning profiles that allow you to install apps on your iOS devices or Mac. You can create and delete provisioning profiles, and download them to sign your code. Provisioning profiles include signing certificates, device identifiers, and a bundle ID.


Video Answer


2 Answers

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

like image 79
Lê Cường Avatar answered Nov 15 '22 05:11

Lê Cường


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.

like image 37
pizzamonster Avatar answered Nov 15 '22 04:11

pizzamonster