CloudKit Apps can’t be freely distributed and have to be part of the Mac App Store. So, What do you need to do to sign in your Mac App on the Development environment of CloudKit is basically the same kind of process you go through for iOS. Except now it’s not an iOS Device it’s a Mac.
Hers is basically what you do:
- Get the UDID of the Mac, that is going to run the test version of the App.
- You get 100 Mac to do the development with. Enter the UDID into Certificates, Identifiers & Profiles in the Developer Portal.
- Create a new provisioning profile for the App combined with the Macs UDID involved.
- Install the provisioning profile on the Mac by dubbel clicking the file inside the Finder. You will find the provisioning profile after installing under “System Preferences”.
Now you have the provisioning profile set up. It’s time to compile the App in such a way, that it will work on each test Mac. You can do that like this:
- Archive the App in Xcode.
- Go to the Archives in Xcode’s organizer and select the newly archived version of the App.
- Hit Export.
- Select Export as Mac Application. If you select any of the other it won’t work.
- Hit next and store YourAppName.app where you want it.
Only one thing remains and moving the app to the actual test device(s) and you’re done. If you have any question or remarks. Please let me know.