![]() When it'sĬompleted you'll get an email with the subject "Your Mac software was successfully notarized".Īlternatively, you can ping the service for the current status of the upload using that RequestUUIDīy running the following command. This can takeĪnywhere from 1 minute to an hour or sometimes longer if the service is overloaded. RequestUUID = xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxįrom there, you will need to wait for the notarization service to process the upload. If the upload was successful, you should see a message with a RequestUUID similar to: No errors uploading 'YourGame.zip'. To upload the build to the notarization service, run the command: xcrun altool -notarize-app -username YourAppleIDUsername -password abcd-efgh-ijkl-mnop -asc-provider ProviderShortName -primary-bundle-id -file YourGame.zip Usually the formatįor that is similar to However, if your "Provider Short Name" is not the same as your Team ID, you can find it by running the followingĬommand: xcrun iTMSTransporter -m provider -u YourAppleIDUsername -p abcd-efgh-ijkl-mnopĪlso, you'll need your game's bundle id that you defined in Unity Player Settings. Often the "Provider Short Name" is your Team ID (ten digitĪlphanumeric id), you can find in the membership section of your Apple developer account (usually an email address), your Apple ID generated password (the one with the format abcd-efgh-ijkl-mnop)Īnd your Apple Developer "Provider Short Name". In order to do this, you'll need your Apple ID username Using the xcrun altool in the command line. Now that we have the compressed zip file, we'll want to upload it to the Apple servers for notarization Upload the zip to Apple's notarization service ditto -c -k -sequesterRsrc -keepParent "YourGame.app" "YourGame.zip" Once the code is signed, we need to compress the application into a zip file for uploading. If successful, you should see a message similar to: YourGame.app: signed app bundle with Mach-O thin (x86_64) codesign -deep -force -verify -verbose -timestamp -options runtime -entitlements "YourGame.entitlements" -sign "Developer ID Application : YourCompanyName (0123456789)" "YourGame.app" Your Developer ID Application certificate (literally the name of the certificate in double quotes). Next, in the command line, we need to use the codesign tool on the permission changed files by using Change all file permissions in the appįor the code signing to work in a later step, we need to change permissions for files within the app The following steps use the Terminal command line and assume your build and entitlements file are in Save this file as " YourGame.entitlements". Here are the minimum entitlements needed forĬom.disable-library-validationĬom.disable-executable-page-protection In particular,Īll apps need to have "Hardened Runtime" entitlements. ![]() This is an xml file used to give executable permissions to the app when code signing. In Player Settings, use default settings and set a unique Bundle Identifier.In the Build Settings, target platform should be set to Mac OS.The password you generate will look similar to the format abcd-efgh-ijkl-mnop Unity Build & Player Settings ![]() and then in the "Security" section click on "Generated Password." To upload a build to Apple servers you'll need to use a "generated password". "Developer ID Applicate : YourCompanyName (0123456789)" Generated Password Keychain Access where you'll see it under the certificates section. Once downloaded, clicking on the file should add it to The Developer Id Application certificate. In the "Create a New Certificate" section, select to add a "Developer ID Application" certificate.Īfter clicking continue, you should see further instructions about how you'll first need to createĪnd upload a "Certificate Signing Request" using the Keychain Access app Īfter you've uploaded the Certificate Signing Request file, you should then be able to download If you don't already have one, you canĬreate one in the account section of the Apple developer website ![]() This certificate will be used for code signing the build. a Mac that is compatible with macOs 10.15 Catalina :.Post build using a series of Xcode command line tools. Games distributed outside the Mac App Store, such as with Steam, the notarization process is done How to notarize a Unity build for macOs 10.15 CatalinaĪs of January 2020, all apps running on macOs 10.15 Catalina are required to be notarized.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |