Xcode 11.4 Error - Failed to install one or more provisioning profiles on the device
Asked Answered
K

9

22

Not able to install provisioning profiles from xcode.

Ensured that all options for new versions(XCode 11 or later) are added from developer portal and downloading profile.

enter image description here

Knap answered 15/4, 2020 at 3:10 Comment(3)
Have you solved this issue?Woodall
Open Devices and Simulators and unpair all paired devices, thats it.Pane
For those who have this problem but the solutions indicated do not work: it was enough for me to change the CFBundleVersion... I don't know why xcode was giving me an error related to provisioning profile...Erlond
R
32

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

Realize answered 19/5, 2020 at 13:1 Comment(1)
Simple and stupid solution. Thank you so much. Scratched my had around this.Pau
T
28

This looks to be an issue on the XCode side. The below solution Succeeds!

  1. Click on Import Profileimport

  2. Then Select the profile you want from the finder windowselect

  3. Import Succeed!

enter image description here

Topdrawer answered 26/4, 2020 at 3:21 Comment(2)
Can you tell the procedure clearly.Where that import option will comeBroomrape
This worked for me, but the answer needs to be written more clearly. In Xcode, select your target. Select Signing & Capabilities tab. Click the arrows next to your current Provisioning Profile, then select Import Profile.Jilly
L
7

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

Lemmons answered 7/5, 2020 at 9:8 Comment(0)
F
6

Follow the below steps

  1. open Devices and Simulators
  2. Remove the paired devices
  3. try installing the provisoining profile again
Fineberg answered 3/12, 2020 at 14:58 Comment(1)
xcode14 work perfect.Declinometer
C
6

Manual import via Xcode worked for me under Signing & Capabilities.

enter image description here

Cutanddried answered 9/12, 2020 at 7:43 Comment(0)
F
4

In my case, it works this way Remove any connected devices and try again

Fulgurite answered 2/11, 2022 at 7:58 Comment(1)
Worked for me. Unbelievable! Thank you.Kadiyevka
S
1

I had the same problem. 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 and your app should run fine.

Specs answered 30/4, 2020 at 22:9 Comment(0)
A
1

I tried everything (restarting iPhone, switching to 5G and back to Wi-Fi, etc. etc.) - nothing worked. Until I randomly tried to disable "Stolen device protection", which I have enabled some time ago. And then everything has just worked. I hope it will help someone with the same issue.

Alake answered 27/3 at 12:52 Comment(0)
S
0

I'm going to post this in multiple places as I just went through this dance and NONE of the advice worked. iOS 17.3.1 and XCode15.2. I think the precipitating issue was that my provisioning profile expired.

I restarted, wiped DerivedData, created new certs, new profiles, double-checked the device was included in the list, had a happy thought when the device list needed its annual reset ... all the advice here and elsewehere didn't fix.

What DID seem to turn the corner was simply building a new app with XCode managing signing and running it on the device!

When I did that, before it deployed to the device, I got the Codesign auth popup on Mac so it could have access to the keychain.

After authorising and running that app from XCode, I was able to deploy my app to device!

Scar answered 4/6 at 12:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.