Mac App Store deployment (DEF-2081)

(App Bundler 3)

What’s this? I tried to look it up but couldn’t find it.

Where did you get stuck at exactly? I just tested process and it seems to work. Also did not use 3rd party tools. I did have to modify the info.plist to have an Application Category. Also had to make sure the icon file was right. Upload a 1024x1024 image to https://iconverticons.com/ and you’ll get a proper icon that will work for osx.

Did you codesign with an .entitlements file?

codesign -f -s “3rd Party Mac Developer Application: YourCompanyName” --entitlements Test.entitlements Test.app --deep

For Test.entitlements

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>com.apple.security.app-sandbox</key>   <true/>
</dict>
</plist>

Then make the pkg

productbuild --component “Test.app” /Applications --sign “3rd Party Mac Developer Installer: YourCompanyName” --product “Test.app/Contents/Info.plist” Test.pkg

Then upload the pkg with Application Loader

I have yet to fully test this process with a production Defold game though, just tested with blank project, and not sure what the actual application reviewers would say about the technical details of a production app.

2 Likes