• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • 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 won't compile (11.4.1)

bsabiston

Member
Does GMS2 work with iOS 11.4.1? I am getting this error when trying to create an executable. I was able to compile and run last week, but this is the first time I've tried since updating my phone to 11.4.1 and XCode to 9.4.1.


Device is on os 11.4.1
working dir: /Applications/GameMaker Studio 2.app/Contents/MonoBundle
/bin/bash -c "xcodebuild -showsdks | grep iOS.SDKs -A1 | tail -n1 | cut -d' ' -f2"
iOS SDK is 11.4
Igor complete.
WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all
Stacktrace:

at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Windows.Forms.XplatUICarbon.CGDisplayBounds (intptr) [0x00002] in <89edde11d8f84ef096bf70ff8bd7d787>:0
at System.Windows.Forms.XplatUICarbon.get_WorkingArea () [0x00005] in <89edde11d8f84ef096bf70ff8bd7d787>:0
at System.Windows.Forms.XplatUICarbon.get_VirtualScreen () [0x00000] in <89edde11d8f84ef096bf70ff8bd7d787>:0
at System.Windows.Forms.XplatUI.get_VirtualScreen () [0x00000] in <89edde11d8f84ef096bf70ff8bd7d787>:0
at System.Windows.Forms.Screen..cctor () [0x00034] in <89edde11d8f84ef096bf70ff8bd7d787>:0
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0001e] in <f3f2aa82c3a04d48845485ce37124803>:0
at <unknown> <0xffffffff>
at System.Windows.Forms.MessageBox/MessageBoxForm.InitFormsSize () [0x00002] in <89edde11d8f84ef096bf70ff8bd7d787>:0
at System.Windows.Forms.MessageBox/MessageBoxForm.RunDialog () [0x0000f] in <89edde11d8f84ef096bf70ff8bd7d787>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox/MessageBoxForm.RunDialog () [0x00031] in <89edde11d8f84ef096bf70ff8bd7d787>:0
at System.Windows.Forms.MessageBox.Show (string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon) [0x0000a] in <89edde11d8f84ef096bf70ff8bd7d787>:0
at .. (.) [0x0001a] in <8bfe784c33724cec95088e25645a9a9a>:0
at .. (System.Exception,bool,bool) [0x000f7] in <8bfe784c33724cec95088e25645a9a9a>:0
at .. (System.Exception,object[]) [0x0003b] in <8bfe784c33724cec95088e25645a9a9a>:0
at .. (string[]) [0x00704] in <8bfe784c33724cec95088e25645a9a9a>:0
at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) [0x0004e] in <8bfe784c33724cec95088e25645a9a9a>:0

Native stacktrace:

0 mono 0x0000000105a69188 mono_handle_native_crash + 264
1 mono 0x0000000105ad4fa6 altstack_handle_and_restore + 70
2 SkyLight 0x00007fff5cfcbcac SLDisplayBounds + 83
3 ??? 0x000000010d8ffc3e 0x0 + 4522507326
4 ??? 0x0000000105f659a6 0x0 + 4394998182
5 mono 0x00000001059bbe07 mono_jit_runtime_invoke + 1383
6 mono 0x0000000105bab3f4 do_runtime_invoke + 84
7 mono 0x0000000105ba72d4 mono_runtime_class_init_full + 996
8 mono 0x00000001059b4f79 mono_jit_compile_method_inner + 2553
9 mono 0x00000001059b7ef2 mono_jit_compile_method_with_opt + 1442
10 mono 0x0000000105a6beb9 common_call_trampoline + 1257
11 mono 0x0000000105a6b983 mono_magic_trampoline + 67
12 ??? 0x0000000105e4e393 0x0 + 4393853843
13 ??? 0x000000010d8fe643 0x0 + 4522501699
14 ??? 0x000000010d8fe463 0x0 + 4522501219
15 ??? 0x0000000108b6eebb 0x0 + 4441173691
16 ??? 0x0000000105f64c39 0x0 + 4394994745
17 mono 0x00000001059bbe07 mono_jit_runtime_invoke + 1383
18 mono 0x0000000105bab3f4 do_runtime_invoke + 84
19 mono 0x0000000105baebe9 do_exec_main_checked + 137
20 mono 0x0000000105a2a4a9 mono_jit_exec + 297
21 mono 0x0000000105a2d48d mono_main + 11165
22 mono 0x00000001059ab418 main + 264
23 mono 0x00000001059ab304 start + 52

=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
 

sman

Member
I'm not sure you have the same problem as me. I just have the game not launching.

But the QA Department answered to me: "This seems like Xcode 9.4.1 doesn't support building for iOS 11.4.1 devices within the IDE unless you use the suppress build preference which isn't something we can fix as we can only build with the SDK provided by Xcode. You can either enable Suppress Build in Preferences or downgrade your iOS Device to iOS 11.4 or earlier and this will fix your issue."

I can't downgrade to iOS 11.4 (version no more signed by Apple) so I use Suppress Build and compile/launch from xCode.
 

bsabiston

Member
Thanks for the reply! I have no problem using XCode to compile and launch. However -- when I do it, the game just crashes upon launch with a black screen and EXC_BAD_ACCESS

EDIT: ah, nevermind -- cleaning and then rebuilding within XCode got it working! Thanks!
 
Last edited:
Top