Reputation: 71
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
Reputation: 1142
I was facing this issue for Xcode 12.4. I tried following steps to fix it.
Make sure any connected iPhones/devices are unlocked then trying installing again.
Select Xcode => Preferences => Accounts => Sign in with your app specific developer account => and select Download Manual Profiles
Open Devices and Simulators and unpair all paired devices
Upvotes: 1
Reputation: 401
In Xcode, open Window > Devices and Simulators > Select Device > Unpair Device (for all devices) open .mobileprovision again. Good luck!
Upvotes: 24
Reputation: 1266
Just solved that. Believe this is a bug.
Try this:
After that the profile should install.
Upvotes: 2