Quinn is helping this, which is great. I am just curious if the com.apple.developer.icloud- is really com.apple.developer.icloud-container-identifiers. I am guessing that the provisioning profile on your machine, either your notebook or Mac Mini, is not up to date, which leads to the different behaviors. Maybe you can try the following:
-
Be sure your developer account is correctly set up in Xcode Settings > Apple Accounts, and your Mac has the access Apple's developer portal.
-
Uncheck the Automatically manage signing box, and check it back. This tells Xcode to refresh the provisioning profile.
If that doesn't help, try to remove the iCloud capability – You are not using any iCloud feature, and so don't really need the capability just yet.
If you do need the iCloud capability, check one of the services, and pick an iCloud container if the service you checked is iCloud Documents or CloudKit. This is how folks use the capability. If everything goes well, the .entitlements file in your project should have something like below (assuming the CloudKit servicie is used), and the provisioning profile should be Automatically updated:
<key>com.apple.developer.icloud-container-identifiers</key>
<array>
<string>your.container.identifier</string>
</array>
<key>com.apple.developer.icloud-services</key>
<array>
<string>CloudKit</string>
</array>
I am super curious if this helps.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.