• 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 Cannot compile blank project

Doughnut115

Member
Hey everyone I have an issue that I am pretty sure I know the cause, but wanted to post to see if anyone who knows more about Xcode can point out anything.

So I have a project that I have been working on for a bit, and today I keep getting build errors when I tried to run it.

I am pretty sure I know what the issue is...last night my mac decided to update itself, and since doing that update it downloaded an update to Xcode so I am confident that one of those updates is the culprit...(leaning towards Xcode)

Xcode Version 11.4.1 (11E503a)
Mac OS Version Catalina 10.15.4

Windows IDE Version 2.2.5.481
Runtime Version 2.2.5.378

Trying to build with VM

So I created a blank project to see what would happen. It builds fine to windows and android but on trying to build for ios I get a build error and this is in the output.

Near the end it says something about unexpected filename, and I think this where I am getting stuck. I was going to submit a bug, but wanted to ask here first if anyone has run into this, or does it look like I am missing something.

Code:
"cmd"  /c subst Z: "C:\Users\Steven\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE"

elapsed time 00:00:00.0399605s for command "cmd" /c subst Z: "C:\Users\Steven\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE" started at 04/18/2020 16:25:30
"cmd"  /c subst Y: "C:\Users\Steven\AppData\Local\GameMakerStudio2\GMS2TEMP"

elapsed time 00:00:00.0385574s for command "cmd" /c subst Y: "C:\Users\Steven\AppData\Local\GameMakerStudio2\GMS2TEMP" started at 04/18/2020 16:25:30
"cmd"  /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.5.378"

elapsed time 00:00:00.0369674s for command "cmd" /c subst X: "C:\ProgramData\GameMakerStudio2\Cache\runtimes\runtime-2.2.5.378" started at 04/18/2020 16:25:30
Saving project to: C:\Users\Steven\Documents\GameMakerStudio2\IOS_TEST\IOS_TEST.yyp
"C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.5.378/bin/Igor.exe"  -j=8 -options="C:\Users\Steven\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- iOS Run

Loaded Macros from C:\Users\Steven\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\IOS_TEST_B2166FDA\macros.json
Options: X:/bin\platform_setting_defaults.json
Options: C:\Users\Steven\AppData\Roaming/GameMakerStudio2\sgxdevelopment_1497\local_settings.json
Options: C:\Users\Steven\AppData\Roaming\GameMakerStudio2\Cache\GMS2CACHE\IOS_TEST_B2166FDA\targetoptions.json
X://bin/GMAssetCompiler.exe  /c /zpex /iv=0 /rv=0 /bv=0 /j=8  /gn="IOS_TEST" /td="Y:/" /cd="Z:/IOS_TEST_B2166FDA" /zpuf="C:\Users\Steven\AppData\Roaming/GameMakerStudio2\sgxdevelopment_1497" /m=ios /tgt=4 /studio  /nodnd /cfg="default" /v /hprt=51269 /o="Y:/IOS_TEST_7E629BBC_VM" /sh=True /optionsini="Y:/IOS_TEST_7E629BBC_VM\options.ini"  /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\Steven\Documents\GameMakerStudio2\IOS_TEST\IOS_TEST.yyp" /preprocess="Z:/IOS_TEST_B2166FDA"
Reading project file....C:\Users\Steven\Documents\GameMakerStudio2\IOS_TEST
Reading project file....X:\BaseProject
Reading config delta 'C:\Users\Steven\Documents\GameMakerStudio2\IOS_TEST\options\main\inherited\options_main.inherited.yy'
finished.


X://bin/GMAssetCompiler.exe DONE (0)
Release build
mkdir -p ~/.ssh
cat ~/.ssh/authorized_keys
pwd
Options: Z:/IOS_TEST_B2166FDA\ExtensionOptions.json
PlatformOptions
Options: Z:/IOS_TEST_B2166FDA\PlatformOptions.json
RunCommandOnMac echo ~
echo ~
X://bin/GMAssetCompiler.exe  /c /zpex /iv=0 /rv=0 /bv=0 /j=8  /gn="IOS_TEST" /td="Y:/" /cd="Z:/IOS_TEST_B2166FDA" /zpuf="C:\Users\Steven\AppData\Roaming/GameMakerStudio2\sgxdevelopment_1497" /m=ios /tgt=4 /studio  /nodnd /cfg="default" /v /hprt=51269 /o="Y:/IOS_TEST_7E629BBC_VM" /sh=True /optionsini="Y:/IOS_TEST_7E629BBC_VM\options.ini"  /cvm /baseproject="X:/BaseProject\BaseProject.yyp" "C:\Users\Steven\Documents\GameMakerStudio2\IOS_TEST\IOS_TEST.yyp" /MacHomeDir="/Users/steven" /llvmSource="X:/" /optionsini="Y:/IOS_TEST_7E629BBC_VM\options.ini" /bt=run /rt=vm
Reading project file....C:\Users\Steven\Documents\GameMakerStudio2\IOS_TEST
Reading project file....X:\BaseProject
Reading config delta 'C:\Users\Steven\Documents\GameMakerStudio2\IOS_TEST\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.
Saving IFF file... Y:/IOS_TEST_7E629BBC_VM\IOS_TEST.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... ROOM
Writing Chunk... DAFL
Writing Chunk... EMBI
Writing Chunk... TPAGE
Writing Chunk... TGIN
Writing Chunk... CODE
Writing Chunk... VARI
Writing Chunk... FUNC
Writing Chunk... STRG
Writing Chunk... TXTR
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
Setting up core libraries.. DONE. Base app delegate: iPad_RunnerAppDelegate
Final application delegate class: iPad_RunnerAppDelegate
Stats : GMA : Elapsed=736.9852
Stats : GMA : sp=0,au=0,bk=0,pt=0,sc=0,sh=0,fo=0,tl=0,ob=0,ro=1,da=0,ex=0,ma=2,fm=0x0


X://bin/GMAssetCompiler.exe DONE (0)
Successfully extracted game.yydebug
SendAndRunXCode
RunCommandOnMac xcode-select -p | sed 's/.app.*/.app/'
xcode-select -p | sed 's/.app.*/.app/'
_dir is Y:/IOS_TEST_7E629BBC_VM\IOS_TEST
output_dir is/Users/steven/GameMakerStudio2/iOS/GMS2IOS/IOS_TEST
RunCommandOnMac mkdir -p /Users/steven/GameMakerStudio2/iOS/GMS2IOS/IOS_TEST
mkdir -p /Users/steven/GameMakerStudio2/iOS/GMS2IOS/IOS_TEST
RunCommandOnMac mkdir -p /Users/steven/GameMakerStudio2/iOS/GMS2IOS/IOS_TEST/IOS_TESTFromPC
mkdir -p /Users/steven/GameMakerStudio2/iOS/GMS2IOS/IOS_TEST/IOS_TESTFromPC
RunCommandOnMac mkdir -p /Users/steven/GameMakerStudio2/iOS/GMS2IOS/IOS_TEST/IOS_TESTFromPC/IOS_TEST
mkdir -p /Users/steven/GameMakerStudio2/iOS/GMS2IOS/IOS_TEST/IOS_TESTFromPC/IOS_TEST
RunCommandOnMac rm -rf /Users/steven/GameMakerStudio2/iOS/GMS2IOS/IOS_TEST/IOS_TEST.app
rm -rf /Users/steven/GameMakerStudio2/iOS/GMS2IOS/IOS_TEST/IOS_TEST.app
pscp Y:/IOS_TEST_7E629BBC_VM\IOS_TEST/ /Users/steven/GameMakerStudio2/iOS/GMS2IOS/IOS_TEST/IOS_TESTFromPC/
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 ..(String , String , String )
   at ..(String , String , String , Boolean , String , String , String , String , Boolean , String , YYDictionary`2 , String , String )
   at Igor.iOSBuilder.Run()
Igor complete.
elapsed time 00:00:11.9515046s for command "C:\ProgramData/GameMakerStudio2/Cache/runtimes\runtime-2.2.5.378/bin/Igor.exe" -j=8 -options="C:\Users\Steven\AppData\Local\GameMakerStudio2\GMS2TEMP\build.bff" -v -- iOS Run started at 04/18/2020 16:25:30
"cmd"  /c subst Z: /d

elapsed time 00:00:00.0611556s for command "cmd" /c subst Z: /d started at 04/18/2020 16:25:42
"cmd"  /c subst Y: /d

elapsed time 00:00:00.0389606s for command "cmd" /c subst Y: /d started at 04/18/2020 16:25:43
"cmd"  /c subst X: /d

elapsed time 00:00:00.0389585s for command "cmd" /c subst X: /d started at 04/18/2020 16:25:43
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.
 
L

Leonard Menchiari

Guest
Hi,
So has anyone been able to find a solution to this? So far it seems like I am able to build on Mac through VM but not YYC, and completely unable to build on iOS.
 
L

Leonard Menchiari

Guest
Thank you for the fast reply. So far I've been trying to do that, but for some reason on my mac the project gets a bunch of errors after opening it saying "Deserialization failed" on many views. This might be a different topic, but is that a common thing that happens when opening a project on a Mac coming from Windows?
 

Mr Errorz

Member
Hmm, I don't know.
I'm using git for my project, so I just cloned it on mac, and it worked, I didn't try to "bring" the proj from PC to mac.
 
L

Leonard Menchiari

Guest
Works on the Mac. It won't build YYC on Mac desktop but it does build YYC on iOS. Problem now is that it seems like it's building with an outdated IDA: Once you upload to Apple it says that the project is building using UIWebView instead of WKWebView. Been trying to change the library and framework with no luck so far. Any ideas?
 

camerakid

Member
Hmm, I don't know.
I'm using git for my project, so I just cloned it on mac, and it worked, I didn't try to "bring" the proj from PC to mac.
Thank you guys for the replies... I'm struggling with an update too.

Mr Errorz can you please explain your solution? I am not familiar with your method and would like to try that. Thank you!!!
 
L

Leonard Menchiari

Guest
The Deserialization bug was solved by making the project run on the Mac's hard drive rather than on the external hard drive.
Also, if you guys are using GooglePlayAdsExtension and you don't need ads you can just delete that extension and it will build fine and upload on the App Store.
As for now all this worked for iOS. Now to the other challenge... Android :D
 

Attachments

Mr Errorz

Member
Thank you guys for the replies... I'm struggling with an update too.

Mr Errorz can you please explain your solution? I am not familiar with your method and would like to try that. Thank you!!!
Not sure what you mean, are you looking for info on how to clone a repo?
 
Top