So I recently updated my project to Unreal 5.4 and am attempting to package my project to send to the Apple App Store but I am running into an issue. When I use cmd+r to run the game on a locally connected device it works totally fine. I am able to disconnect the phone and the game works great, connects to the database that I have set up and everything. When I then select “archive” inn Xcode, distribute the app to TestFlight, and then download the app from TestFlight, it crashes immediately after the Unreal Splash Screen. I grabbed the console log that it looks like it is getting stuck on from Xcode, but I am having trouble figuring out exactly how to fix the TestFlight build. Any suggestions would be appreciated. Thanks
This is the console log message that is getting sent several times before it crashes:
Modifying properties of a view’s layer off the main thread is not allowed: view <FIOSView: 0x157238000> with nearest ancestor view controller <IOSViewController: 0x157040000>; backtrace:
(
0 UIKitCore 0x000000019b126a8c 96636F64-106F-30C8-A780-82DCEBB0F443 + 6154892
1 UIKitCore 0x000000019ab61048 96636F64-106F-30C8-A780-82DCEBB0F443 + 102472
2 QuartzCore 0x0000000199de1db8 109010DA-3C35-3E22-B001-939786412EE2 + 69048
3 QuartzCore 0x0000000199de19d4 109010DA-3C35-3E22-B001-939786412EE2 + 68052
4 QuartzCore 0x0000000199e7cfa0 109010DA-3C35-3E22-B001-939786412EE2 + 704416
5 UIKitCore 0x000000019ab66cc8 96636F64-106F-30C8-A780-82DCEBB0F443 + 126152
6 CosmosChallenge-IOS-Shipping 0x00000001050b5378 _ZN3Aws8Endpoint23DefaultEndpointProviderINS_6Client26GenericClientConfigurationILb0EEENS0_17BuiltInParametersENS0_23ClientContextParametersEE16OverrideEndpointERKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEE + 6382816
7 CosmosChallenge-IOS-Shipping 0x00000001050a6b80 _ZN3Aws8Endpoint23DefaultEndpointProviderINS_6Client26GenericClientConfigurationILb0EEENS0_17BuiltInParametersENS0_23ClientContextParametersEE16OverrideEndpointERKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEE + 6323432
8 CosmosChallenge-IOS-Shipping 0x00000001050d4924 _ZN3Aws8Endpoint23DefaultEndpointProviderINS_6Client26GenericClientConfigurationILb0EEENS0_17BuiltInParametersENS0_23ClientContextParametersEE16OverrideEndpointERKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEE + 6511244
9 CosmosChallenge-IOS-Shipping 0x0000000107fbff88 _ZN3Aws8Endpoint23DefaultEndpointProviderINS_6Client26GenericClientConfigurationILb0EEENS0_17BuiltInParametersENS0_23ClientContextParametersEE16OverrideEndpointERKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEE + 55709936
10 CosmosChallenge-IOS-Shipping 0x0000000107fbfdac _ZN3Aws8Endpoint23DefaultEndpointProviderINS_6Client26GenericClientConfigurationILb0EEENS0_17BuiltInParametersENS0_23ClientContextParametersEE16OverrideEndpointERKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEE + 55709460
11 CosmosChallenge-IOS-Shipping 0x0000000104ea6eb4 _ZN3Aws8Endpoint23DefaultEndpointProviderINS_6Client26GenericClientConfigurationILb0EEENS0_17BuiltInParametersENS0_23ClientContextParametersEE16OverrideEndpointERKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEE + 4227100
12 CosmosChallenge-IOS-Shipping 0x0000000105039774 _ZN3Aws8Endpoint23DefaultEndpointProviderINS_6Client26GenericClientConfigurationILb0EEENS0_17BuiltInParametersENS0_23ClientContextParametersEE16OverrideEndpointERKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEE + 5875932
13 CosmosChallenge-IOS-Shipping 0x00000001081f33c8 _ZN3Aws8Endpoint23DefaultEndpointProviderINS_6Client26GenericClientConfigurationILb0EEENS0_17BuiltInParametersENS0_23ClientContextParametersEE16OverrideEndpointERKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEE + 58017072
14 CosmosChallenge-IOS-Shipping 0x00000001081ea7d4 _ZN3Aws8Endpoint23DefaultEndpointProviderINS_6Client26GenericClientConfigurationILb0EEENS0_17BuiltInParametersENS0_23ClientContextParametersEE16OverrideEndpointERKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEE + 57981244
15 CosmosChallenge-IOS-Shipping 0x00000001081ea640 _ZN3Aws8Endpoint23DefaultEndpointProviderINS_6Client26GenericClientConfigurationILb0EEENS0_17BuiltInParametersENS0_23ClientContextParametersEE16OverrideEndpointERKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEE + 57980840
16 CosmosChallenge-IOS-Shipping 0x00000001050a965c _ZN3Aws8Endpoint23DefaultEndpointProviderINS_6Client26GenericClientConfigurationILb0EEENS0_17BuiltInParametersENS0_23ClientContextParametersEE16OverrideEndpointERKNSt3__112basic_stringIcNS8_11char_traitsIcEENS8_9allocatorIcEEEE + 6334404
17 Foundation 0x0000000196f48804 34DE055D-8683-380A-9198-C3347211D13D + 481284
18 libsystem_pthread.dylib 0x000000022297b344 _pthread_start + 136
19 libsystem_pthread.dylib 0x0000000222978ab8 thread_start + 8
)