Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Provisioning profile "iOS Team Provisioning Profile: com.*****.******" doesn't include the currently selected device "****’s MacBook Pro"

Tags:

xcode

ios

I've recently got the new M1 MacBook Pro and have been developing my app on it using Xcode. It has been working fine for a few weeks and whenever I build it, I would build my SwiftUI iOS app to my Mac using the iOS>My Mac(Designed For iPad) option. Today when I tried to build my app to my Mac, I just so happened to be not connected to the internet, and then I got the error "Provisioning profile "iOS Team Provisioning Profile: com.." doesn't include the currently selected device "’s MacBook Pro" (identifier ********----***********)." I checked in the Accounts tab in my apple developer account and my MacBook Pro's UUID and name were on there. It builds fine and runs fine on my phone, but won't work on my Mac. Could anyone help me out? Thanks in advance.

Screenshot of error

like image 891
ryandu Avatar asked Nov 15 '22 02:11

ryandu


1 Answers

this issue might be due to running Xcode with Rosetta, if that is so you can go to the Applications folder find Xcode, and right-click on the icon to open the menu, then click on get info, in the info panel uncheck the 'Open using Rosetta' option

like image 117
sarfarazsajjad Avatar answered Dec 15 '22 00:12

sarfarazsajjad