• 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.

iOS iOS app fails to compile because GameMaker cannot "find archive"

circ

Member
Hey folks, running into this annoying issue while trying to create an iOS app on a Macbook, and was hoping someone more experienced than me with Apple development could provide some tips.

When I try to create an iOS executable (after following the steps to set up my Macbook and setting up for iOS, which all went smoothly), I receive an error stating:

Found archive find: /Users/ali/Library/Developer/Xcode/Archives: No such file or directory
Package now open in Xcode Organizer on Mac.

(Full console output below)

I guess I'm missing some step due to which this "Archive" directory doesn't get created and GameMaker fails to create the executable. Any idea what I might be missing here?

(For what it's worth, under the Locations tab in Xcode > Preferences, the Archives option is set to "Default" and it does point to the same Archives directory referenced in the error above.)



And I tried creating the folder manually to see what the error message changes to, and then I get the following:

"/Users/ali/GameMakerStudio2/iOS/GMS2IOS/strange-loops/strange_loops/strange_loops/__yy_certificate.xcconfig" -scheme strange_loops archive ; "
System.Exception: could not find archive


Here is the full console output that gives the error message stating that the Archive folder wasn't found:

"/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.1.409/bin/Igor.exe -j=8 -options="/var/folders/b6/c714d5bx2m997fbf63ft_j_w0000gr/GameMakerStudio2/GMS2TEMP/build.bff" -v -- iOS Package

Loaded Macros from /Users/ali/.config/GameMakerStudio2/Cache/GMS2CACHE/strange-lo_2A79DD4D_50C93FAD/macros.json
Options: /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.1.409/bin/platform_setting_defaults.json
Options: /Users/ali/.config/GameMakerStudio2/sa.abbas_64349/local_settings.json
Options: /Users/ali/.config/GameMakerStudio2/Cache/GMS2CACHE/strange-lo_2A79DD4D_50C93FAD/targetoptions.json
Setting up the Asset compiler
/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.1.409/bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="strange-loops" /td="/var/folders/b6/c714d5bx2m997fbf63ft_j_w0000gr/GameMakerStudio2/GMS2TEMP" /cd="/Users/ali/.config/GameMakerStudio2/Cache/GMS2CACHE/strange-lo_2A79DD4D_50C93FAD" /zpuf="/Users/ali/.config/GameMakerStudio2/sa.abbas_64349" /m=ios /tgt=4 /studio /nodnd /cfg="Default" /v /hprt=51269 /o="/var/folders/b6/c714d5bx2m997fbf63ft_j_w0000gr/GameMakerStudio2/GMS2TEMP/strange-loops_4A0BA430_VM" /sh=True /optionsini="/var/folders/b6/c714d5bx2m997fbf63ft_j_w0000gr/GameMakerStudio2/GMS2TEMP/strange-loops_4A0BA430_VM/options.ini" /cvm /baseproject="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.1.409/BaseProject/BaseProject.yyp" "/Users/ali/GameMakerStudio2/strange-loops/strange-loops.yyp" /preprocess="/Users/ali/.config/GameMakerStudio2/Cache/GMS2CACHE/strange-lo_2A79DD4D_50C93FAD"
We have a Zeus Project!
Found Project Format 2
ProjectFileWatcher:StartWatching:/Users/ali/GameMakerStudio2/strange-loops
Started: 2021-03-15 12:33:20 AM
Finished: 2021-03-15 12:33:21 AM
Diff: 00:00:00.5215340
Loaded Project: strange-loops
finished.
Release build
Options: /Users/ali/.config/GameMakerStudio2/Cache/GMS2CACHE/strange-lo_2A79DD4D_50C93FAD/PlatformOptions.json
cp "/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.1.409/ios/mobiledevice" "/Users/ali/GameMakerStudio2/iOS/GMS2IOS/strange-loops/mobiledevice"


cp DONE (0)
Device is on os 14.4
Options: /Users/ali/.config/GameMakerStudio2/Cache/GMS2CACHE/strange-lo_2A79DD4D_50C93FAD/ExtensionOptions.json
PlatformOptions
PlatformOptions
/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.1.409/bin/GMAssetCompiler.exe /c /mv=1 /zpex /iv=0 /rv=0 /bv=0 /j=8 /gn="strange-loops" /td="/var/folders/b6/c714d5bx2m997fbf63ft_j_w0000gr/GameMakerStudio2/GMS2TEMP" /cd="/Users/ali/.config/GameMakerStudio2/Cache/GMS2CACHE/strange-lo_2A79DD4D_50C93FAD" /zpuf="/Users/ali/.config/GameMakerStudio2/sa.abbas_64349" /m=ios /tgt=4 /studio /nodnd /cfg="Default" /v /hprt=51269 /o="/var/folders/b6/c714d5bx2m997fbf63ft_j_w0000gr/GameMakerStudio2/GMS2TEMP/strange-loops_4A0BA430_VM" /sh=True /optionsini="/var/folders/b6/c714d5bx2m997fbf63ft_j_w0000gr/GameMakerStudio2/GMS2TEMP/strange-loops_4A0BA430_VM/options.ini" /cvm /baseproject="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.1.409/BaseProject/BaseProject.yyp" "/Users/ali/GameMakerStudio2/strange-loops/strange-loops.yyp" /MacHomeDir="/Users/ali" /llvmSource="/Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.1.409" /optionsini="/var/folders/b6/c714d5bx2m997fbf63ft_j_w0000gr/GameMakerStudio
2/GMS2TEMP/strange-loops_4A0BA430_VM/options.ini" /bt=exe /rt=vm
Compile Constants...finished.
Remove DnD...finished.
Compile Scripts...finished.
Compile Rooms...finished.
Compile Objects...finished.
Compile Timelines...finished.
Compile Triggers...finished.
Compile Extensions...finished.
Global scripts...finished.
finished.
collapsing enums.
Final Compile...finished.
Saving IFF file... /var/folders/b6/c714d5bx2m997fbf63ft_j_w0000gr/GameMakerStudio2/GMS2TEMP/strange-loops_4A0BA430_VM/strange-loops.zip
Writing Chunk... GEN8
option_game_speed=60
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... ACRV
Writing Chunk... SEQN
Writing Chunk... TAGS
Writing Chunk... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Texture Group - Default
Texture Group - LvTextures
Texture Group - MenuTextures
Texture Group - TtrlTextures
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...
2 Compressing texture... writing texture texture_2.png...
3 Compressing texture... writing texture texture_3.png...
4 Compressing texture... writing texture texture_4.png...
Writing Chunk... AUDO
Setting up core libraries.. DONE. Base app delegate: iPad_RunnerAppDelegate
Final application delegate class: iPad_RunnerAppDelegate
Stats : GMA : Elapsed=3537.325
Stats : GMA : sp=69,au=4,bk=0,pt=0,sc=353,sh=0,fo=8,tl=0,ob=20,ro=6,da=0,ex=0,ma=12,fm=0x40B21C4AFD2AA0
CreateiOSExecutable
rsync -ap "/var/folders/b6/c714d5bx2m997fbf63ft_j_w0000gr/GameMakerStudio2/GMS2TEMP/strange-loops_4A0BA430_VM/strange_loops/" "/Users/ali/GameMakerStudio2/iOS/GMS2IOS/strange-loops/strange_loopsFromPC/"

rsync DONE (0)
/bin/bash -c "cd ~ && cd /Users/ali/GameMakerStudio2/iOS/GMS2IOS/strange-loops/strange_loops/; xcodebuild -allowProvisioningUpdates -allowProvisioningDeviceRegistration -sdk iphoneos -allowProvisioningUpdates -xcconfig "/Users/ali/GameMakerStudio2/iOS/GMS2IOS/strange-loops/strange_loops/strange_loops/__yy_certificate.xcconfig" -scheme strange_loops archive ; "
Found archive find: /Users/ali/Library/Developer/Xcode/Archives: No such file or directory
Package now open in Xcode Organizer on Mac.
Igor complete.

elapsed time 00:00:08.9824070s for command "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono" /Users/Shared/GameMakerStudio2/Cache/runtimes/runtime-2.3.1.409/bin/Igor.exe -j=8 -options="/var/folders/b6/c714d5bx2m997fbf63ft_j_w0000gr/GameMakerStudio2/GMS2TEMP/build.bff" -v -- iOS Package started at 03/15/2021 00:33:19
SUCCESS: Package Program Complete



Any tips would be appreciated. Thanks!
 

circ

Member
Okay, never mind, fixed the issue.

For anyone else who runs into this issue, this is how it got fixed. Deleted the current project from Xcode, then enabled Developer Mode under Preferences > Server & Bots. Restarted GameMaker IDE, and tried compiling again. No idea why this worked this time, but it did.

But for some reason, the sound isn't working on the app now, so might create a new thread for that soon, lol.
 
Top