• Hey! Guest! The 37th GMC Jam will take place between May 28th, 12:00 UTC and June 1st, 12:00 UTC. Why not join in! Click here to find out more!

Distribution [SOLVED]MacOS Export "Unable to find game!!" When openned from downloaded directory

witches

Member
I'm actually going insane.
I exported my code via YYC and is interpreted in xcode flawlessly. Game runs perfectly on my Mac through Xcode and I have an Apple Developer membership.
I have a certificate for the Developer ID Application
I have a unique registered identifier for my game
I have an associated profile for my game
I know how to notarize and have notarized successfully for all of my builds
But every time I isolate the exported, notarized, signed and cosigned app; all i get is a window that says:

Code:
 Unable to find game!!:
please, can anyone help me. I'm considering abandoning macOS distribution.
 

witches

Member
Hmm...it is odd if you can't run it on your own machine. Normally this only happens if you have shared it with someone else or uploaded and then downloaded again from the internet.

Have you tried moving the app to a different folder?

Also check the advice in these threads if you haven't already.

https://help.yoyogames.com/hc/en-us/articles/216753558

https://forum.yoyogames.com/index.php?threads/unable-to-find-game-error-message.58573/
i appreciate the articles. the app runs fine on my own machine, but its after i email it to myself where i get the error. so its effectively useless to anyone else but me. the name of the game has zero spaces and i'm not eligible for a dmg certificate apparently so i cant make it mountable. im not sure what other apple hoops i need to jump through since exporting throught the VM method doesnt yield a pkg file for me to send through xcode
 

witches

Member
after experimenting for a bit and reviewing the articles more, i found that after zipping the exported app, downloading the zip, unzipping the app and moving to a different directory from where i unzipped it. the game works with no errors. I wonder what would cause something like this
 
It's Apples Gatekeeper quarantining apps that aren't downloaded from the app store.

The app will work if you simply build it on your machinem. However, as soon as you download it/email it etc...it's flagged as being from an internet source and given a file attribute marking it as quarantined.

You used to be able to get around this by right clicking on the app and selecting open, or by moving it to a different folder.
 

witches

Member
I feel like thats what the whole certificate and notarization process is for though. im not sure anymore just seems like a huge user inconvenience to have a special note on all macOS exports to move the app to a different directory after unzipping it or else the game just flat out wont work. do other well known gms2 projects exported to macOS need this work around to work?
 
Last edited:

witches

Member
figured out a work around that isn't dumb. made it into a dmg now it works like any other normal application.
 

wazawoo

Member
Hello all. I can't believe this is actually an issue (GameMaker 2, 2020). It is incredibly stupid that it hasn't been fixed. I'm replying to all the duplicate posts with two actual solutions (rather than just saying "the dmg method" as all the posts do).

Option 1. Once you unzip the file on the mac you downloaded it on, if you then move the app to a different folder, it will open (you can also then move it back to the original folder and it will work too).
Option 2. If you take the app, and create a .dmg instead of a .zip from it, it will work. You do this by doing the following:
a. Generate the executable in GameMaker, which makes a .zip
b. Extract the .zip to get the app
c. Place the app in a folder by itself (unless you want to include other files/documentation)
d. Open Disk Utility, and do File -> New Image -> New Image From Folder (or cmd+shift+N), and choose that folder
e. Distribute the generated .dmg instead of the .zip generated by GameMaker

And I have a solution for YoYo: If this has literally been an issue for YEARS and YEARS, why not just make the generate executable option generate a dmg instead of a zip?

Ridiculous...
 

AndHeDrew

Member
Hello all. I can't believe this is actually an issue (GameMaker 2, 2020). It is incredibly stupid that it hasn't been fixed. I'm replying to all the duplicate posts with two actual solutions (rather than just saying "the dmg method" as all the posts do).

Option 1. Once you unzip the file on the mac you downloaded it on, if you then move the app to a different folder, it will open (you can also then move it back to the original folder and it will work too).
Option 2. If you take the app, and create a .dmg instead of a .zip from it, it will work. You do this by doing the following:
a. Generate the executable in GameMaker, which makes a .zip
b. Extract the .zip to get the app
c. Place the app in a folder by itself (unless you want to include other files/documentation)
d. Open Disk Utility, and do File -> New Image -> New Image From Folder (or cmd+shift+N), and choose that folder
e. Distribute the generated .dmg instead of the .zip generated by GameMaker

And I have a solution for YoYo: If this has literally been an issue for YEARS and YEARS, why not just make the generate executable option generate a dmg instead of a zip?

Ridiculous...
THANK YOU. This has been a real frustration.
 
Top