Mac OSX Mac OSX Can't create App file but can run

Discussion in 'GameMaker Studio 2 Community Tech Support' started by aaaaaaaaaaaa, Aug 12, 2019.

  1. aaaaaaaaaaaa

    aaaaaaaaaaaa Member

    Joined:
    Aug 9, 2019
    Posts:
    3
    I continue to get a build error when attempting to Create an Executable. Anyone know what the issue could be?

    Saving project to: /Users/username/GameMakerStudio2/AnotherPerspective-2019/AnotherPerspective-2019.yyp
    "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/bin/Igor.exe -j=8 -options="/var/folders/kv/cnq57jf555z8pp9yqk63s2q80000gn/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Mac Package

    Loaded Macros from /Users/username/.config/GameMakerStudio2/Cache/GMS2CACHE/AnotherPer_831F9C08_C6DD8EB4/macros.json
    Options: /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/bin/platform_setting_defaults.json
    Options: /Users/username/.config/GameMakerStudio2/afeigenbaum_2129380/local_settings.json
    Options: /Users/username/.config/GameMakerStudio2/Cache/GMS2CACHE/AnotherPer_831F9C08_C6DD8EB4/targetoptions.json
    /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="AnotherPerspective-2019" /td="/var/folders/kv/cnq57jf555z8pp9yqk63s2q80000gn/GameMakerStudio2/GMS2TEMP" /cd="/Users/username/.config/GameMakerStudio2/Cache/GMS2CACHE/AnotherPer_831F9C08_C6DD8EB4" /zpuf="/Users/username/.config/GameMakerStudio2/afeigenbaum_2129380" /m=mac /tgt=2 /studio /llvmSource="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/interpreted/" /nodnd /cfg="default" /o="/var/folders/kv/cnq57jf555z8pp9yqk63s2q80000gn/GameMakerStudio2/GMS2TEMP/AnotherPerspective-2019_333E8950_VM" /sh=True /optionsini="/var/folders/kv/cnq57jf555z8pp9yqk63s2q80000gn/GameMakerStudio2/GMS2TEMP/AnotherPerspective-2019_333E8950_VM/options.ini" /cvm /baseproject="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/BaseProject/BaseProject.yyp" "/Users/username/GameMakerStudio2/AnotherPerspective-
    2019/AnotherPerspective-2019.yyp" /preprocess="/Users/username/.config/GameMakerStudio2/Cache/GMS2CACHE/AnotherPer_831F9C08_C6DD8EB4"
    Reading project file..../Users/username/GameMakerStudio2/AnotherPerspective-2019
    Reading project file..../Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/BaseProject
    Reading config delta '/Users/username/GameMakerStudio2/AnotherPerspective-2019/options/main/inherited/options_main.inherited.yy'
    finished.



    /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono DONE (0)
    Release build
    Options: /Users/username/.config/GameMakerStudio2/Cache/GMS2CACHE/AnotherPer_831F9C08_C6DD8EB4/PlatformOptions.json
    homedir : /Users/username
    remote_install_path : /Users/username/GameMaker-Studio/Perspective_Latest_(6)/GMS2MAC/AnotherPerspective-2019
    PlatformOptions
    /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/bin/GMAssetCompiler.exe /c /zpex /mv=1 /iv=0 /rv=0 /bv=0 /j=8 /gn="AnotherPerspective-2019" /td="/var/folders/kv/cnq57jf555z8pp9yqk63s2q80000gn/GameMakerStudio2/GMS2TEMP" /cd="/Users/username/.config/GameMakerStudio2/Cache/GMS2CACHE/AnotherPer_831F9C08_C6DD8EB4" /zpuf="/Users/username/.config/GameMakerStudio2/afeigenbaum_2129380" /m=mac /tgt=2 /studio /llvmSource="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/interpreted/" /nodnd /cfg="default" /o="/var/folders/kv/cnq57jf555z8pp9yqk63s2q80000gn/GameMakerStudio2/GMS2TEMP/AnotherPerspective-2019_333E8950_VM" /sh=True /optionsini="/var/folders/kv/cnq57jf555z8pp9yqk63s2q80000gn/GameMakerStudio2/GMS2TEMP/AnotherPerspective-2019_333E8950_VM/options.ini" /cvm /baseproject="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/BaseProject/BaseProject.yyp" "/Users/username/GameMakerStudio2/AnotherPerspective-
    2019/AnotherPerspective-2019.yyp" /optionsini="/var/folders/kv/cnq57jf555z8pp9yqk63s2q80000gn/GameMakerStudio2/GMS2TEMP/AnotherPerspective-2019_333E8950_VM/options.ini" /bt=exe /rt=vm
    Reading project file..../Users/username/GameMakerStudio2/AnotherPerspective-2019
    Reading project file..../Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/BaseProject
    Reading config delta '/Users/username/GameMakerStudio2/AnotherPerspective-2019/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.
    Looking for built-in particle images in /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/bin/ParticleImages
    Saving IFF file... /var/folders/kv/cnq57jf555z8pp9yqk63s2q80000gn/GameMakerStudio2/GMS2TEMP/AnotherPerspective-2019_333E8950_VM/AnotherPerspective-2019.zip
    Writing Chunk... GEN8
    option_game_speed=60
    Writing Chunk... OPTN
    Writing Chunk... LANG
    Writing Chunk... EXTN
    Writing Chunk... SOND
    *writing audio file snd_puzzle.ogg...
    *writing audio file snd_puzzler.ogg...
    *writing audio file snd_perspective.ogg...
    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
    Texture Group - MenuImages
    Writing Chunk... TGIN
    Writing Chunk... CODE
    Writing Chunk... VARI
    Writing Chunk... FUNC
    Writing Chunk... STRG
    Writing Chunk... TXTR
    0 Compressing texture... writing texture texture_0.png...
    1 Compressing texture... writing texture texture_1.png...
    Writing Chunk... AUDO
    Stats : GMA : Elapsed=1774.855
    Stats : GMA : sp=75,au=8,bk=1,pt=1,sc=72,sh=10,fo=6,tl=0,ob=141,ro=135,da=1,ex=0,ma=5774,fm=0x2040B31D6EFC2CB4



    /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono DONE (0)
    PlatformOptions
    DoSplash
    ${options_dir}/mac/splash/splash.png
    IsMacConnected
    InstallApplicationOvenOnMac
    /bin/bash -c "chmod u+x /var/folders/kv/cnq57jf555z8pp9yqk63s2q80000gn/GameMakerStudio2/GMS2TEMP/AnotherPerspective-2019_333E8950_VM/install_app_oven.sh"


    /bin/bash DONE (0)
    InstallRunnerOnMac
    /bin/bash -c "chmod u+x /var/folders/kv/cnq57jf555z8pp9yqk63s2q80000gn/GameMakerStudio2/GMS2TEMP/AnotherPerspective-2019_333E8950_VM/install_dmg.sh"


    /bin/bash DONE (0)
    CreateMacExecutable
    /bin/bash -c "cd ~ && /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/mac/Application\ Oven.app/Contents/MacOS/Application\ Oven CreatePKG /Users/username/GameMaker-Studio/Perspective_Latest_(6)/GMS2MAC/AnotherPerspective-2019/AnotherPerspective-2019.zip /Users/username/GameMaker-Studio/Perspective_Latest_(6)/GMS2MAC/AnotherPerspective-2019/YoYo\ Runner.app DummyPassword"

    /bin/bash: -c: line 0: syntax error near unexpected token `('
    /bin/bash: -c: line 0: `cd ~ && /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/mac/Application\ Oven.app/Contents/MacOS/Application\ Oven CreatePKG /Users/username/GameMaker-Studio/Perspective_Latest_(6)/GMS2MAC/AnotherPerspective-2019/AnotherPerspective-2019.zip /Users/username/GameMaker-Studio/Perspective_Latest_(6)/GMS2MAC/AnotherPerspective-2019/YoYo\ Runner.app DummyPassword'

    /bin/bash exited with non-zero status (2)

    elapsed time 00:00:24.9582080s for command "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.2.3.344/bin/Igor.exe -j=8 -options="/var/folders/kv/cnq57jf555z8pp9yqk63s2q80000gn/GameMakerStudio2/GMS2TEMP/build.bff" -v -- Mac Package started at 08/12/2019 11:09:35
    FAILED: Package Program Complete
     
  2. FrostyCat

    FrostyCat Member

    Joined:
    Jun 26, 2016
    Posts:
    4,306
    Change your project's directory name to something that doesn't contain brackets, spaces or anything that has a special meaning in Unix shell scripting. This part of the error should have told you what's going on:
    Code:
    CreatePKG /Users/username/GameMaker-Studio/Perspective_Latest_(6)/GMS2MAC/AnotherPerspective-2019/AnotherPerspective-2019.zip /Users/username/GameMaker-Studio/Perspective_Latest_(6)/GMS2MAC/AnotherPerspective-2019/YoYo\ Runner.app DummyPassword"
    
    /bin/bash: -c: line 0: syntax error near unexpected token `('
    There's a reason why programmers are minimalistic with file names and tend to use only alphanumerics and underscores. The glitzier the name, the more likely it runs afoul of the command line. Brackets, spaces, braces, exclamation marks, question marks and ampersands are especially bad.
     
    Toque likes this.
  3. aaaaaaaaaaaa

    aaaaaaaaaaaa Member

    Joined:
    Aug 9, 2019
    Posts:
    3
    Awesome this did the trick. Thanks a lot
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice