Show us your error. It may or may not be the same problem.
Here is the output that I get
Saving project to: /Users/user/Desktop/my art/the game/The_game.yyp
"/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.1.3.189/bin/Igor.exe -options="/var/folders/j_/v43r6dhd6xj8mk_zthhf5p1r0000gn/GameMakerStudio2/GMS2TEMP/build.bff" -- Mac Run
Loaded Macros from /Users/user/.config/GameMakerStudio2/Cache/GMS2CACHE/The_game_F7454BAF/macros.json
Options: /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.1.3.189/bin/platform_setting_defaults.json
Options: /Users/user/.config/GameMakerStudio2/v.rostobaya_1556430/local_settings.json
Options: /Users/user/.config/GameMakerStudio2/Cache/GMS2CACHE/The_game_F7454BAF/targetoptions.json
/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.1.3.189/bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=4 /gn="The_game" /td="/var/folders/j_/v43r6dhd6xj8mk_zthhf5p1r0000gn/GameMakerStudio2/GMS2TEMP" /cd="/Users/user/.config/GameMakerStudio2/Cache/GMS2CACHE/The_game_F7454BAF" /zpuf="/Users/user/.config/GameMakerStudio2/v.rostobaya_1556430" /m=mac /tgt=2 /studio /llvmSource="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.1.3.189/interpreted/" /nodnd /cfg=default /o="/var/folders/j_/v43r6dhd6xj8mk_zthhf5p1r0000gn/GameMakerStudio2/GMS2TEMP/The_game_335D3C30_VM" /sh=True /optionsini="/var/folders/j_/v43r6dhd6xj8mk_zthhf5p1r0000gn/GameMakerStudio2/GMS2TEMP/The_game_335D3C30_VM/options.ini" /cvm /baseproject="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.1.3.189/BaseProject/BaseProject.yyp" "/Users/user/Desktop/my art/the game/The_game.yyp" /preprocess="/Users/user/.config/GameMakerStudio2/Cache/GMS2CACHE/The
_game_F7454BAF"
Reading project file..../Users/user/Desktop/my art/the game
Reading project file..../Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.1.3.189/BaseProject
Reading config delta '/Users/user/Desktop/my art/the game/options/main/inherited/options_main.inherited.yy'
finished.
/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono DONE (0)
Release build
Options: /Users/user/.config/GameMakerStudio2/Cache/GMS2CACHE/The_game_F7454BAF/PlatformOptions.json
homedir : /Users/user
remote_install_path : /Users/user/GameMakerStudio2/Mac/GMS2MAC/The_game
PlatformOptions
[Compile] Run asset compiler
/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.1.3.189/bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=4 /gn="The_game" /td="/var/folders/j_/v43r6dhd6xj8mk_zthhf5p1r0000gn/GameMakerStudio2/GMS2TEMP" /cd="/Users/user/.config/GameMakerStudio2/Cache/GMS2CACHE/The_game_F7454BAF" /zpuf="/Users/user/.config/GameMakerStudio2/v.rostobaya_1556430" /m=mac /tgt=2 /studio /llvmSource="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.1.3.189/interpreted/" /nodnd /cfg=default /o="/var/folders/j_/v43r6dhd6xj8mk_zthhf5p1r0000gn/GameMakerStudio2/GMS2TEMP/The_game_335D3C30_VM" /sh=True /optionsini="/var/folders/j_/v43r6dhd6xj8mk_zthhf5p1r0000gn/GameMakerStudio2/GMS2TEMP/The_game_335D3C30_VM/options.ini" /cvm /baseproject="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.1.3.189/BaseProject/BaseProject.yyp" "/Users/user/Desktop/my art/the game/The_game.yyp" /optionsini="/var/folders/j_/v43r6dhd6xj8mk_zthhf5p1r0000gn/GameMaker
Studio2/GMS2TEMP/The_game_335D3C30_VM/options.ini" /bt=run
Reading project file..../Users/user/Desktop/my art/the game
Reading project file..../Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.1.3.189/BaseProject
Reading config delta '/Users/user/Desktop/my art/the game/options/main/inherited/options_main.inherited.yy'
finished.
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Objects...System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.ThrowHelper.ThrowArgumentNullException (System.ExceptionArgument argument) [0x00006] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Insert (TKey key, TValue value, System.Boolean add) [0x0000b] in <f712f98eb8e445c8918edaf595bbe465>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].set_Item (TKey key, TValue value) [0x00000] in <f712f98eb8e445c8918edaf595bbe465>:0
at GMAssetCompiler.GMLCompile.[] (System.Collections.Generic.Dictionary`2[TKey,TValue] , System.Collections.Generic.IList`1[T] ) [0x00034] in <73fc729841f94b8fbc639a47b85f772f>:0
finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Rooms...finished.
Compile Extensions...finished.
Global scripts...finished.
Final Compile...finished.
Saving IFF file... /var/folders/j_/v43r6dhd6xj8mk_zthhf5p1r0000gn/GameMakerStudio2/GMS2TEMP/The_game_335D3C30_VM/The_game.zip
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... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
0 Compressing texture... writing texture texture_0.png...
Writing Chunk... AUDO
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... STRG
Writing Chunk... SCPT
Writing Chunk... DBGI
Writing Chunk... INST
Writing Chunk... LOCL
Writing Chunk... STRG
Stats : GMA : Elapsed=4882.675
Stats : GMA : sp=9,au=0,bk=0,pt=0,sc=0,sh=0,fo=0,tl=0,ob=3,ro=2,da=0,ex=0,ma=4,fm=0x200400000000
/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono exited with non-zero status (1)
elapsed time 00:00:09.6312160s for command "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.1.3.189/bin/Igor.exe -options="/var/folders/j_/v43r6dhd6xj8mk_zthhf5p1r0000gn/GameMakerStudio2/GMS2TEMP/build.bff" -- Mac Run started at 03/23/2018 01:09:12
FAILED: Run Program Complete
Here is my error. I think it has something to do with mono.framework files. I installed 4.8.0 version of mono.framework. It didn't help. Not sure what to do.