Search code examples
unity-game-engineapp-store-connectprovisioning-profilemac-app-storeapplication-loader

Do I need a Mac Provisioning Profile (Distribution) when uploading my unity app to the Mac App Store


I am submitting an app made in unity to the Mac app store currently, using application loader 3.0 to submit my build to iTunes connect. I was just wondering if in order to do this I am required to use/embed a Mac Provisioning Profile (Distribution) as I was told I had to but there is no mention of this in the unity docs concerning how to upload one's app to the mac app store. So my question would be if I would need to have a Mac Provisioning Profile (Distribution) and if so how would I implement it.


Solution

  • Assuming you have now created a .app, you must sign the .app package and all other binaries if your app relies on third party packages.

    It will look like this:

    codesign -f -s "3rd Party Mac Developer Application: YOUR NAME (TEAM ID)" --entitlements "entitlements.plist" "YourPackage.app"

    And the same for other binaries inside the app.