• Hey! Guest! The 40th (!!!) GMC Jam will take place between February 25th, 12:00 UTC to March 1st 12:00 UTC. Why not join in this very special anniversary jam! Click here to find out more!
  • 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 Building YYC on Mac problems

ensomari

Member
I can't seem to build my game on the new M1 chip MacBook Air with YYC. (VM works fine)

This is from the output window toward the end of the build process after hitting the Run (play) button.

----------

/bin/bash -c "cd ~ && mkdir -p /Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISM/"


/bin/bash DONE (0)
/bin/bash -c "cd ~ && mkdir -p /Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISMFromPC"


/bin/bash DONE (0)
Options: /Users/noahjudson/.config/GameMakerStudio2/Cache/GMS2CACHE/DUALISM_2C49699C/steam_options.yy
Failed to copy Steam DLL - '/Users/noahjudson/Downloads/steamworks sdk/redistributable_bin/osx32/libsteam_api.dylib' - SDK not installed properly?
rsync -ap "/var/folders/19/0_2f4cys16lc57fy1mkm0jvc0000gn/GameMakerStudio2/GMS2TEMP/DUALISM_37C06F62_YYC/DUALISM/" "/Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISMFromPC/"


rsync DONE (0)
cp "/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.1.406/yyc/mac/bin/iconcreate.sh" "/Users/noahjudson/dualism/GMS2MAC/DUALISM/iconcreate.sh"


cp DONE (0)
cp "/Users/noahjudson/repos/dualism/options/mac/icons/1024.png" "/Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png"


cp DONE (0)
/bin/bash -c "cd ~ && chmod +x /Users/noahjudson/dualism/GMS2MAC/DUALISM/iconcreate.sh"


/bin/bash DONE (0)
/bin/bash -c "cd ~ && /Users/noahjudson/dualism/GMS2MAC/DUALISM/iconcreate.sh /Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png /Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISMFromPC/DUALISM/Supporting\ Files/icon.icns"
+ dirOutput=IconSet.iconset
+ rm -rf IconSet.iconset
+ mkdir -p IconSet.iconset
+ sips -z 16 16 /Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png --out IconSet.iconset/icon_16x16.png
/Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png
/Users/noahjudson/IconSet.iconset/icon_16x16.png
+ sips -z 32 32 /Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png --out IconSet.iconset/icon_16x16@2x.png
/Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png
/Users/noahjudson/IconSet.iconset/icon_16x16@2x.png
+ sips -z 32 32 /Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png --out IconSet.iconset/icon_32x32.png
/Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png
/Users/noahjudson/IconSet.iconset/icon_32x32.png
+ sips -z 64 64 /Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png --out IconSet.iconset/icon_32x32@2x.png
/Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png
/Users/noahjudson/IconSet.iconset/icon_32x32@2x.png
+ sips -z 128 128 /Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png --out IconSet.iconset/icon_128x128.png
/Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png
/Users/noahjudson/IconSet.iconset/icon_128x128.png
+ sips -z 256 256 /Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png --out IconSet.iconset/icon_128x128@2x.png
/Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png
/Users/noahjudson/IconSet.iconset/icon_128x128@2x.png
+ sips -z 256 256 /Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png --out IconSet.iconset/icon_256x256.png
/Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png
/Users/noahjudson/IconSet.iconset/icon_256x256.png
+ sips -z 512 512 /Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png --out IconSet.iconset/icon_256x256@2x.png
/Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png
/Users/noahjudson/IconSet.iconset/icon_256x256@2x.png
+ sips -z 512 512 /Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png --out IconSet.iconset/icon_512x512.png
/Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png
/Users/noahjudson/IconSet.iconset/icon_512x512.png
+ sips -z 1024 1024 /Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png --out IconSet.iconset/icon_512x512@2x.png
/Users/noahjudson/dualism/GMS2MAC/DUALISM/icon512.png
/Users/noahjudson/IconSet.iconset/icon_512x512@2x.png
+ iconutil -c icns IconSet.iconset -o '/Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISMFromPC/DUALISM/Supporting Files/icon.icns'
+ rm -R IconSet.iconset


/bin/bash DONE (0)
/bin/bash -c "cd ~ && rsync -c -r /Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISMFromPC/ /Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISM"


/bin/bash DONE (0)
/bin/bash -c "cd ~ && rm -rf /Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISM.app"
!!!

/bin/bash DONE (0)
/bin/bash -c "cd ~ && cd /Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISM; xcodebuild -allowProvisioningUpdates -allowProvisioningDeviceRegistration -xcconfig "/Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISM/__yy_certificate.xcconfg" ARCHS=arm64 VALID_ARCHS=arm64 build;"
/bin/bash -c "cd ~ && echo Starting... >/Users/noahjudson/dualism/GMS2MAC/DUALISM/debug.log"


/bin/bash DONE (0)
/bin/bash -c "cd ~ && open -n -a /Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISM.app --args -debugoutput \"/Users/noahjudson/dualism/GMS2MAC/DUALISM/debug.log\" -output \"/Users/noahjudson/dualism/GMS2MAC/DUALISM/debug.log\" -runTest -debug_steamapi -nosteamrestart"
The application /Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISM.app cannot be opened for an unexpected reason, error=Error Domain=NSCocoaErrorDomain Code=260 "The file “DUALISM.app” couldn’t be opened because there is no such file." UserInfo={NSURL=file:///Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISM.app, NSFilePath=/Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISM.app, NSUnderlyingError=0x7fb668d062c0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}



-------------
Now here at the bottom you can see it cannot find the DUALISM.app, but just a few lines above that (I marked it with "!!!") it appears to be removing that file.

Is this the expected build process for a Mac?

When I try to create an executable, instead of just hitting Run, it was building for over 45 minutes before I finally stopped it. Usually building executables takes a minute or two but this one seemed stuck in an infinite loop.

This is the last line it shows when doing that:
/bin/bash -c "cd ~ && cd /Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISM; if [ ! -d DUALISM.xcodeproj/xc*data ]; then open DUALISM.xcodeproj; while [ ! -d /Users/noahjudson/dualism/GMS2MAC/DUALISM/DUALISM/DUALISM.xcodeproj/xc*data ]; do sleep 2; done; fi;"


Anyone have any ideas?
 
Top