• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Mac OSX Build for YYC Fails

mrzeapple

Member
When ever I try and build my game from windows to a mac the build fails, I have also tried to build it on my mac but it still doesn't work.
"cmd" /c subst Z: "C:\Users\zapple\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.2127847s for command "cmd" /c subst Z: "C:\Users\zapple\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 05/04/2020 17:18:31
"cmd" /c subst Y: "C:\Users\zapple\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.1949280s for command "cmd" /c subst Y: "C:\Users\zapple\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 05/04/2020 17:18:31
"cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.5.378"

elapsed time 00:00:00.2003843s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.5.378" started at 05/04/2020 17:18:31
Saving project to: G:\Dropbox\senior thesis\The Great Art Heist\The Great Art Heist.yyp
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.5.378/bin/Igor.exe" -j=8 -options="C:\Users\zapple\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Mac Run

Loaded Macros from C:\Users\zapple\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\The_Great__4188C184_5A1A91AF\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\zapple\AppData\Roaming/GameMakerStudio2\mrzeappleemail_423891\local_settings.json
Options: C:\Users\zapple\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\The_Great__4188C184_5A1A91AF\targetoptions.json
X://bin/GMAssetCompiler.exe /c /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="The Great Art Heist" /td="Y:/" /cd="Z:/The_Great__4188C184_5A1A91AF" /zpuf="C:\Users\zapple\AppData\Roaming/GameMakerStudio2\mrzeappleemail_423891" /m=llvm-mac /tgt=2 /llvmSource="X://yyc/" /nodnd /cfg="default" /o="Y:/The_Great_Art_Heist_490F0AE5_YYC" /sh=True /optionsini="Y:/The_Great_Art_Heist_490F0AE5_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "G:\Dropbox\senior thesis\The Great Art Heist\The Great Art Heist.yyp" /preprocess="Z:/The_Great__4188C184_5A1A91AF"
Reading project file....G:\Dropbox\senior thesis\The Great Art Heist
Reading project file....X:\BaseProject
Reading config delta 'G:\Dropbox\senior thesis\The Great Art Heist\options\main\inherited\options_main.inherited.yy'
finished.


X://bin/GMAssetCompiler.exe DONE (0)
Release build
Options: Z:/The_Great__4188C184_5A1A91AF\PlatformOptions.json
mkdir -p ~/.ssh
cat ~/.ssh/authorized_keys
pwd
remote_install_path : /Users/mrzeapple/GameMakerStudio2/Mac/GMS2MAC/The_Great_Art_Heist
Options: Z:/The_Great__4188C184_5A1A91AF\ExtensionOptions.json
PlatformOptions
[Compile] Run asset compiler
X://bin/GMAssetCompiler.exe /c /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="The Great Art Heist" /td="Y:/" /cd="Z:/The_Great__4188C184_5A1A91AF" /zpuf="C:\Users\zapple\AppData\Roaming/GameMakerStudio2\mrzeappleemail_423891" /m=llvm-mac /tgt=2 /llvmSource="X://yyc/" /nodnd /cfg="default" /o="Y:/The_Great_Art_Heist_490F0AE5_YYC" /sh=True /optionsini="Y:/The_Great_Art_Heist_490F0AE5_YYC\options.ini" /baseproject="X:/BaseProject\BaseProject.yyp" "G:\Dropbox\senior thesis\The Great Art Heist\The Great Art Heist.yyp" /optionsini="Y:/The_Great_Art_Heist_490F0AE5_YYC\options.ini" /bt=run /rt=yyc
Reading project file....G:\Dropbox\senior thesis\The Great Art Heist
Reading project file....X:\BaseProject
Reading config delta 'G:\Dropbox\senior thesis\The Great Art Heist\options\main\inherited\options_main.inherited.yy'
finished.
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Final Compile...finished.
Writing Chunk... GEN8
option_game_speed=30
Writing Chunk... OPTN
Writing Chunk... LANG
Writing Chunk... EXTN
Writing Chunk... SOND
Writing Chunk... AGRP
Writing Chunk... SPRT
Writing Chunk... BGND
Writing Chunk... PATH
Writing Chunk... SCPT
Writing Chunk... GLOB
Writing Chunk... SHDR
Writing Chunk... FONT
Writing Chunk... TMLN
Writing Chunk... OBJT
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Texture Group - Default
Writing Chunk... TGIN
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
Writing Chunk... AUDO
Writing Audio Group audiogroup_Music
saving file Y:/The_Great_Art_Heist_490F0AE5_YYC\The Great Art Heist.ios
Stats : GMA : Elapsed=1594.1444
Stats : GMA : sp=69,au=2,bk=14,pt=2,sc=0,sh=1,fo=4,tl=0,ob=74,ro=8,da=1,ex=3,ma=144,fm=0xB21568FC24A0


X://bin/GMAssetCompiler.exe DONE (0)
nname: Y:/The_Great_Art_Heist_490F0AE5_YYC\The Great Art Heist.zip
destname: Y:\The_Great_Art_Heist_490F0AE5_YYC\GameAssetsMac.zip
mkdir -p /Users/mrzeapple/GameMakerStudio2/Mac/GMS2MAC/The_Great_Art_Heist/The_Great_Art_Heist/
mkdir -p /Users/mrzeapple/GameMakerStudio2/Mac/GMS2MAC/The_Great_Art_Heist/The_Great_Art_HeistFromPC
pscp Y:/The_Great_Art_Heist_490F0AE5_YYC\The_Great_Art_Heist/ /Users/mrzeapple/GameMakerStudio2/Mac/GMS2MAC/The_Great_Art_Heist/The_Great_Art_HeistFromPC/
Renci.SshNet.Common.ScpException: scp: error: unexpected filename:
at Renci.SshNet.ScpClient.CheckReturnCode(Stream input)
at Renci.SshNet.ScpClient.Upload(DirectoryInfo directoryInfo, String path)
at ..(String , String , Boolean )
at Igor.MacBuilder.MacSendAndRunXCode(String _dir, Boolean _bLaunchDebugger, String option_mac_output_dir)
at Igor.MacBuilder.Run()
Igor complete.
elapsed time 00:00:10.4923831s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.5.378/bin/Igor.exe" -j=8 -options="C:\Users\zapple\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- Mac Run started at 05/04/2020 17:18:31
"cmd" /c subst Z: /d

elapsed time 00:00:00.1894706s for command "cmd" /c subst Z: /d started at 05/04/2020 17:18:42
"cmd" /c subst Y: /d

elapsed time 00:00:00.1924503s for command "cmd" /c subst Y: /d started at 05/04/2020 17:18:42
"cmd" /c subst X: /d

elapsed time 00:00:00.1984010s for command "cmd" /c subst X: /d started at 05/04/2020 17:18:42
FAILED: Run Program Complete
For the details of why this build failed, please review the whole log above and also see your Compile Errors window.
 

Evanski

Raccoon Lord
Forum Staff
Moderator
pscp Y:/The_Great_Art_Heist_490F0AE5_YYC\The_Great_Art_Heist/ /Users/mrzeapple/GameMakerStudio2/Mac/GMS2MAC/The_Great_Art_Heist/The_Great_Art_HeistFromPC/
Renci.SshNet.Common.ScpException: scp: error: unexpected filename:
 

grixm

Member
I am also seeing this on the newest runtime and catalina. But I have found a workaround:

When you build/run in gamemaker, it will create some virtual harddrives, named Y:, X: etc. While it is trying to build, open Y: and take one of the folders with your project name and an alphanumeric ID and copy it somewhere else. Be fast because when the build fails, the drives will disappear.
Once you have copied the folder, you can manually move it to your mac. Inside the folder there is another folder with your project name, and inside there is an xcode project file. Open it in xcode and manually build the program.
 

Tornado

Member
Check this:
 
Top