This problem has been bugging me. I exported the Mac version from PC and it exported it as .app, so it didn't work on my Mac. Someone suggested to export a .dmg version. So, does exporting the game on Mac make the export file as .dmg?
And your command worked for many games facing this problem. Kudos!