Problem: I just moved to a new Mac Mini M1 and the xcodebuild process now generates an error and fails. There have been no other changes in the code or the project between building on my old Mac Mini and the new M1 Mini.
WAS USING:
MacOS 10.15.7, on Mac mini (Late 2012)
XCode version: 12.2
MacOS 11.0.1, on Mac mini (M1, 2020)
XCode version: 12.2
Code Block error: Provisioning profile "XXXXXXX Development Profile" doesn't include the currently selected device "Chris’s Mac mini" (identifier XXXXXX-XXXXXXXXXX). (in target 'XXXXXXX' from project 'XXXXXX')
Now, "Chris’s Mac mini" is the name of my new development machine. I'm building a iPhone app, and our provisioning profile DOES contain a number of device IDs for various iPhones we test on.
Why would it care that my Mini is not in that list?
When I try, I can't even add a Mac ID to the provisioning profile
Our normal xcodebuild command line is rather complex, but even if I run it with:
Code Block xcodebuild -scheme <MyTargetName>
and nothing else, I still get the error. noted above
Chris