Mitul Bhadeshiya
Mitul Bhadeshiya

Reputation: 1358

Xcode encountered an error in xcode 11.2.1

When I try to install the provisioning profile the Xcode give the below error "Xcode encountered an error" (i try thing in updated provisioning profile, not in new profile)

enter image description here

Upvotes: 6

Views: 4213

Answers (5)

TKumar
TKumar

Reputation: 836

I tired with several solutions and among those, it seems to me that the best solution is,

  1. Go to XCode > Windows > Devices and Simulators > Device tab > Right click on any device > Unpair device
  2. Unpair all the connected devices
  3. Install the Provision profiles
  4. Pair the devices again.

I guess this solution will work all the time.

enter image description here

Upvotes: 0

Surbhi Sandhu
Surbhi Sandhu

Reputation: 11

you can manually import the profile -

project targets setting---> signing&Capabilities --> Provising Profile ---> import Profile

Upvotes: 1

Niraj
Niraj

Reputation: 207

Download the latest provisioning profile from apple developer console and choose import profile from Xcode, select the downloaded profile and your problem will be solved.

Upvotes: 0

Mitul Bhadeshiya
Mitul Bhadeshiya

Reputation: 1358

This is the bug in Xcode 11.2.1 I just logged in the accounts and download manual profile (The screen open from the Xcode > Preferences > Accounts)

enter image description here

Upvotes: 10

Aditya Ahuja
Aditya Ahuja

Reputation: 326

If Download manual profiles does not work for you then -

1) open the older version of Xcode then 2) Add the provisioning profile. 3) Now quit the older version of Xcode and open the new version and it is added!

Upvotes: 2

Related Questions