- Bundle a blank project for Mac
- Download appropriate Mac developer team certificate either directly or with xcode (check in keychain)
- codesign with
codesign --force --sign "3rd Party Mac Developer Application: Your Team Name" "game.app"
- Drag app to /Applications
- Login to guest account and see if it runs
This is the most basic setup that should work, but it’s not for me. Could anyone else who has App Store membership and access to a Mac test this?
I’ve tested xcode projects and with this dev setup it works for me on Guest accounts.
With Defold project if I do
spctl -va My.app it’s always rejected even what should be correct entitlements for sandboxing set. I do have “App store and identified developers” set in Security & Privacy. I’m not sure how to figure out why it was rejected.
When I do --verify and --deep-verify on Defold projects it says valid on disk, satisfies requirements.
When I do
codesign -dvv My.app it does appear to be correct.
A lot of (random tutorial) sources online say to use “3rd Party Mac Developer Application: …” for uploading to Mac App Store but when I used “Developer ID Application: …” spctl accepted it. However even with this on Guest account I get “The application ‘…’ can’t be opened.”
By default xcode signs with a personal developer cert I think. But even using that one did not help.