Then when downloading the provisioning profile, it reports the error "Provisioning profile does not allow this device."
This is Big Sur 11.1 on Mac mini Apple Silicon/M1.
Automatic signing keeps telling me that my current selected device (M1/Silicon chip) is not included.
So I tried manual signing doing what the link is saying
I added a new device: MACOS type and using the provisioning UUID (and not the Hardware ID).
So I can create a provisioning profile properly including the MAC into it.
However, when trying to use it in XCode, I still receive the same message (Provisioning profile does not include the device).
So at the end, it seems XCode wants the Hardware UUID but the provisioning profile only wants the Provisioning UUID. So they never match...
That is the problem.So at the end, it seems XCode wants the Hardware UUID but the provisioning profile only wants the Provisioning UUID. So they never match...
but the description on the form says:Name your device and enter its Unique Device Identifier (UDID).
Device ID (UUID)
deleted all Dev Certs from the mac
deleted all Provisioning Profiles from the mac
deleted the Provisioning Profile from the Account
1x with UUID as mac
1x with UDID as mac
1x with UDID as iOS
any luck with this?
it works. key point is: register mac as iOS device with provisioning ID, and uncheck "open with Rosetta" for Xcode
Xcode/Apple should allow that the automatic provisioning profile includes Mac devices because with manual provisioning profile you can do it (and the error "provisioning profile does not allow this device" does not appear anymore).
"open without Rosetta" is not a solution, more a hack. It's like saying don't use automatic provisioning profile but manual to fix the bug.
You have do uncheck "open with Rosetta", then it should work
Here is what worked for me.
Happy coding day :)
You can use this command to get UDID
system_profiler SPHardwareDataType | awk '/Provisioning/{print $NF}'
Then need register this UDID at the developer.apple.com portal as mac and iPod.
It works for me.