Closed caliberdigitalllc closed 1 week ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
FWIW, I went ahead and created a brand new Maui blazor hybrid app, completely boilerplate and just changed the app identifier to match my in progress app. Exact same thing happened. Goes to splash screen, crashes out. This is without a single other CSProj modification other than the package identifier.
`INFO: Xamarin.Hosting: Device discovery event: Connected (00008301-A88EF1AA1180202E)
INFO: Xamarin.Hosting: Device discovery event: GizmoPaired (00008301-A88EF1AA1180202E)
INFO: Xamarin.Hosting: Connected to Mitch’s Apple Watch Ultra (00008301-A88EF1AA1180202E) in 00:00:00.0036308
INFO: Xamarin.Hosting: Version: 7dbab91212 (refs/heads/main)
INFO: Xamarin.Hosting: Xcode: /Applications/Xcode.app
INFO: Xamarin.Hosting: Verbosity: 1
INFO: Xamarin.Hosting: Xcode Version: 15.4
INFO: Xamarin.Hosting: Xamarin.Hosting
INFO: xcrun devicectl -j /var/folders/d1/43d729sj4x56j9zw2b13bp7r0000gn/T/tmp8ekK0Y.tmp -v device info lockState --device "Mitch’s iPhone"
INFO: Command Completed, took 1.204 seconds
INFO: ? passcodeRequired: false
INFO: ? deviceIdentifier: 13AE7EF8-6B67-4A3E-966B-E232116C293C
INFO: ? unlockedSinceBoot: true
INFO: Current device lock state:
INFO: 2024-07-20 20:09:48.371-0400 Acquired usage assertion.
INFO: Using verbose logging.
INFO: 2024-07-20 20:09:48.371-0400 Acquired tunnel connection to device.
INFO: Saving JSON output file to /var/folders/d1/43d729sj4x56j9zw2b13bp7r0000gn/T/tmp8ekK0Y.tmp
INFO: xcrun devicectl -j /var/folders/d1/43d729sj4x56j9zw2b13bp7r0000gn/T/tmp62R610.tmp -v device process launch --terminate-existing --device "Mitch’s iPhone" com.alzbetterai.app --monodevelop-port 10000 --connection-mode usb
INFO: 2024-07-20 20:09:49.759-0400 Enabling developer disk image services.
INFO: The app 'com.alzbetterai.app' launched with pid 13949
INFO: Launched application with com.alzbetterai.app bundle identifier.
INFO: Command Completed, took 1.360 seconds
INFO: Saving JSON output file to /var/folders/d1/43d729sj4x56j9zw2b13bp7r0000gn/T/tmp62R610.tmp
INFO: 2024-07-20 20:09:49.807-0400 Acquired usage assertion.
INFO: Using verbose logging.
INFO: 2024-07-20 20:09:49.754-0400 Acquired tunnel connection to device.
INFO:
INFO: The application has been launched
INFO: =================================================================
=================================================================
Native stacktrace:
=================================================================
INFO: [iOS Debugger] Connected to "Mitch’s iPhone" over USB on port 10000.
INFO: [iOS Debugger] Connected to "Mitch’s iPhone" over USB on port 10000.
INFO: [iOS Debugger] Connecting to "Mitch’s iPhone" over USB on port 10000...
INFO: [iOS Debugger] Connecting to "Mitch’s iPhone" over USB on port 10000...
INFO: [iOS Debugger] Connected to "Mitch’s iPhone" over USB on port 10000.
INFO: 0x102c9809c - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_runtime_init_checked
0x102d5a4dc - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mini_init
0x102d60758 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_jit_init_version
0x102bd97b8 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : xamarin_bridge_initialize
INFO: ...{...C......
0x102ca0d74 08 08 40 b9 08
INFO: ..J.......
0x102ca0d94 4c 69 69 38 6b 09 0c 8b 60 01 1f d6 00 00 40 f9 Lii8k...`.....@.
=================================================================
Managed Stacktrace:
=================================================================
=================================================================
=================================================================
Native Crash Reporting
=================================================================
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.
=================================================================
An error has occurred in the native fault reporting. Some diagnostic information will be unavailable.
=================================================================
Native stacktrace:
=================================================================
0x102d8b5e0 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-
INFO: 5d 10 53 09 05 00 51 3f 75 00 71 ..@..].S...Q?u.q
0x102ca0d84 e8 19 00 54 4a 0b 00 90 4a a1 0f 91 8b 00 00 10 ...TJ.
INFO: 0x102d5ae48 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_jit_runtime_invoke
0x102cfee94 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_runtime_invoke_checked
0x102cb9cb8 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : create_exception_two_strings
0x102cb9a3c - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_exception_from_name_two_strings_checked
INFO: 0x102c9809c - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_runtime_init_checked
INFO: 0x102d5a4dc - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mini_init
0x102d60758 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_jit_init_version
0x102bd97b8 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : xamarin_bridge_initialize
INFO: Closing debug connection from device (USB)
INFO: 0x102bde8fc - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : xamarin_main
0x102dce018 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : main
0x1be938734 - /usr/lib/dyld : <redacted>
Exiting early due to double fault.
INFO: Disposing input and output streams...
INFO: Closing debug connection from remote debugger (TCP)
INFO: Connecting to debug stream from device...
INFO: Connecting to remote debugger on port 56637...
INFO: Connecting to debug console stream...
INFO: Waiting for the debugger connection signal...
INFO: Debugger connection signal received
INFO: Debugger connection completed
INFO: Connecting to debug stream from remote debugger...
INFO: 0x102d8cb20 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : interp_runtime_invoke
0x102d5ae48 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_jit_runtime_invoke
0x102cfee94 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_runtime_invoke_checked
0x102cb9cb8 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : create_exception_two_strings
0x102cb9a3c - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_exception_from_name_two_strings_checked
INFO: 0x102cae75c - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_class_create_ptr
INFO: 0x21fc8fafc - /usr/lib/system/libsystem_platform.dylib : <redacted>
INFO: 0x102d57ce0 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_sigsegv_signal_handler_debug
INFO: 0x102d8b5e0 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_dump_native_crash_info
INFO:
=================================================================
Native Crash Reporting
=================================================================
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.
INFO: 0x102d75f18 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_handle_native_crash
The app has been terminated.
INFO: 0x102dce018 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : main
0x1be938734 - /usr/lib/dyld : <redacted>
=================================================================
Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x102ca0d74):0x102ca0d64 ff 83 00 d1 fd 7b 01 a9 fd 43 00 91 c0 19 00 b4 ..
INFO: 0x102bde8fc - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : xamarin_main
INFO: 0x102cae75c - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_class_create_ptr
0x102d9e5e0 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : interp_method_compute_offsets
0x102db08a4 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : generate
0x102db0458 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_interp_transform_method
0x102d9a894 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : do_transform_method
0x102d8e628 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_interp_exec_method
INFO: BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_dump_native_crash_info
0x102d75f18 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_handle_native_crash
0x102d57ce0 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_sigsegv_signal_handler_debug
0x21fc8fafc - /usr/lib/system/libsystem_platform.dylib : <redacted>
0x102cae75c - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_class_create_ptr
INFO: 0x102cae75c - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_class_create_ptr
0x102d9e5e0 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : interp_method_compute_offsets
0x102db08a4 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : generate
0x102db0458 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_interp_transform_method
0x102d9a894 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : do_transform_method
0x102d8e628 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : mono_interp_exec_method
0x102d8cb20 - /private/var/containers/Bundle/Application/B58650D8-48E0-4863-BC2B-8BA7E6B4DCBF/AbMobileAi.app/AbMobileAi : interp_runtime_invoke
INFO: Disposing console and debugger streams...
INFO: Disposing input and output streams...
ERROR: An error occurred while writing to the debug stream. Details: ObjectDisposed_Generic
ObjectDisposed_ObjectName_Name, UsbStream
`
One other update. I updated the boilerplate/template blazor maui hybrid to .net core 8.0 and now it gets past the splash screen but just hangs on a white screen.
In this case, here's the log output:
INFO: Launching...
INFO: [iOS Debugger] Connecting to "Mitch’s iPhone" over USB on port 10000...
INFO: Launching app 'AbMobileAi' on device...
INFO: /Users/mitch/Library/Caches/Xamarin/XMA/SDKs/dotnet/packs/Microsoft.iOS.Sdk.net9.0_17.2/17.2.9714-net9-p6/tools/bin/mlaunch --devname "Mitch’s iPhone" --killdev "/Users/mitch/Library/Caches/Xamarin/mtbs/builds/AbMobileAi/505231ffd4dd951265338494d30686be35849b3b8c8af3ca0211b24403dc8fe6/bin/Debug/net8.0-ios/ios-arm64/device-builds/iphone16.2-18.0/AbMobileAi.app" --launchdev "/Users/mitch/Library/Caches/Xamarin/mtbs/builds/AbMobileAi/505231ffd4dd951265338494d30686be35849b3b8c8af3ca0211b24403dc8fe6/bin/Debug/net8.0-ios/ios-arm64/device-builds/iphone16.2-18.0/AbMobileAi.app" -argument=-monodevelop-port -argument=10000 -argument=-connection-mode -argument=usb --setenv=__XAMARIN_DEBUG_PORT__=10000 --wait-for-unlock -v --sdkroot "/Applications/Xcode.app/Contents/Developer" -sdk 18.0
INFO: Starting debugger connection to the app 'AbMobileAi'. Debugger port: 56397, Device port: 10000
INFO: Creating command connection...
INFO: Xamarin.Hosting: Device discovery started
INFO: Using Xcode 15.4 found in /Applications/Xcode.app/Contents/Developer
INFO: Xamarin.Hosting: Device discovery event: Connected (00008130-000618A61003401C)
INFO: Xamarin.Hosting: Device discovery event: GizmoPaired (00008301-A88EF1AA1180202E)
INFO: Xamarin.Hosting: Connected to Mitch’s iPhone (00008130-000618A61003401C) in 00:00:00.0038982
INFO: Xamarin.Hosting: Device discovery event: Connected (00008301-A88EF1AA1180202E)
INFO: Xamarin.Hosting: Connected to Mitch’s Apple Watch Ultra (00008301-A88EF1AA1180202E) in 00:00:00.0046513
INFO: Xamarin.Hosting: Version: 7dbab91212 (refs/heads/main)
INFO: Xamarin.Hosting: Xamarin.Hosting
INFO: Xamarin.Hosting: Xcode Version: 15.4
INFO: Xamarin.Hosting: Verbosity: 1
INFO: Xamarin.Hosting: Xcode: /Applications/Xcode.app
INFO: xcrun devicectl -j /var/folders/d1/43d729sj4x56j9zw2b13bp7r0000gn/T/tmprUhF5G.tmp -v device info lockState --device "Mitch’s iPhone"
INFO: ? deviceIdentifier: 13AE7EF8-6B67-4A3E-966B-E232116C293C
INFO: Using verbose logging.
INFO: Current device lock state:
INFO: 2024-07-20 20:23:11.111-0400 Acquired usage assertion.
INFO: ? passcodeRequired: false
INFO: ? unlockedSinceBoot: true
INFO: Saving JSON output file to /var/folders/d1/43d729sj4x56j9zw2b13bp7r0000gn/T/tmprUhF5G.tmp
INFO: 2024-07-20 20:23:11.111-0400 Acquired tunnel connection to device.
INFO: Command Completed, took 1.115 seconds
INFO: xcrun devicectl -j /var/folders/d1/43d729sj4x56j9zw2b13bp7r0000gn/T/tmpS1ErLG.tmp -v device process launch --terminate-existing --device "Mitch’s iPhone" com.alzbetterai.app --monodevelop-port 10000 --connection-mode usb
INFO: Saving JSON output file to /var/folders/d1/43d729sj4x56j9zw2b13bp7r0000gn/T/tmpS1ErLG.tmp
INFO: The app 'com.alzbetterai.app' launched with pid 14064
INFO: Using verbose logging.
INFO: Launched application with com.alzbetterai.app bundle identifier.
INFO: 2024-07-20 20:23:12.403-0400 Acquired tunnel connection to device.
INFO: 2024-07-20 20:23:12.455-0400 Acquired usage assertion.
INFO: 2024-07-20 20:23:12.409-0400 Enabling developer disk image services.
INFO: Command Completed, took 1.278 seconds
INFO: The application has been launched
INFO:
INFO: [iOS Debugger] Connected to "Mitch’s iPhone" over USB on port 10000.
INFO: Debugger connection completed
INFO: [iOS Debugger] Connected to "Mitch’s iPhone" over USB on port 10000.
INFO: [iOS Debugger] Connecting to "Mitch’s iPhone" over USB on port 10000...
INFO: [iOS Debugger] Connected to "Mitch’s iPhone" over USB on port 10000.
INFO: [iOS Debugger] Connecting to "Mitch’s iPhone" over USB on port 10000...
INFO: Connecting to debug console stream...
INFO: Connecting to debug stream from device...
INFO: Waiting for the debugger connection signal...
INFO: Debugger connection signal received
INFO: Connecting to remote debugger on port 56397...
INFO: Connecting to debug stream from remote debugger...
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Private.CoreLib.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.iOS.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Runtime.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Collections.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Runtime.InteropServices.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Threading.Thread.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Threading.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/AbMobileAi.dll
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Private.Uri.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Maui.Controls.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Collections.Concurrent.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Maui.Graphics.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Numerics.Vectors.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.ObjectModel.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Xml.ReaderWriter.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Private.Xml.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Memory.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Diagnostics.TraceSource.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Collections.NonGeneric.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Collections.Specialized.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.ComponentModel.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.ComponentModel.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Text.RegularExpressions.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Reflection.Emit.ILGeneration.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Reflection.Emit.Lightweight.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Reflection.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Net.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Diagnostics.Tracing.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Runtime.Intrinsics.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Win32.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Net.Http.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Net.Security.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Security.Cryptography.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Formats.Asn1.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Text.Encoding.Extensions.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Runtime.Numerics.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Security.Claims.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Net.Sockets.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Net.NameResolution.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Diagnostics.DiagnosticSource.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Threading.ThreadPool.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Linq.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Net.Quic.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.IO.Compression.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.IO.Compression.Brotli.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Threading.Channels.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Net.NetworkInformation.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Reflection.Emit.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Reflection.Metadata.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Collections.Immutable.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.IO.MemoryMappedFiles.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Runtime.Loader.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Linq.Expressions.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.ComponentModel.TypeConverter.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Drawing.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Runtime.Serialization.Formatters.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Resources.Writer.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Xml.XDocument.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Private.Xml.Linq.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Maui.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Maui.Essentials.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Console.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.Logging.Abstractions.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.DependencyInjection.Abstractions.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.Configuration.Abstractions.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.Configuration.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.DependencyInjection.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.Logging.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.Options.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.ComponentModel.Annotations.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Maui.Controls.Xaml.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.AspNetCore.Components.WebView.Maui.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.AspNetCore.Components.WebView.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.FileProviders.Abstractions.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.FileSystemGlobbing.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Text.Json.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Text.Encodings.Web.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.JSInterop.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Runtime.InteropServices.JavaScript.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.AspNetCore.Components.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.AspNetCore.Components.Web.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.AspNetCore.Components.Forms.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Runtime.Serialization.Primitives.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.FileProviders.Embedded.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.FileProviders.Composite.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.FileProviders.Physical.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.IO.FileSystem.Watcher.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/Microsoft.Extensions.Logging.Debug.dll [External]
Thread started: dotnet/maui#2
Resolved pending breakpoint for 'AbMobileAi.Program.Main(System.String[])' to D:\Development\AlzBetter\AbMobileAi\Platforms\iOS\Program.cs:7 [0x00000].
Loaded assembly: data-0x105e10000 [External]
Loaded assembly: data-0x105e20000 [External]
Loaded assembly: data-0x105e30000 [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/netstandard.dll [External]
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointSendToIde(System.String)' to D:\a\_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:425 [0x00000].
Resolved pending breakpoint for 'Xamarin.HotReload.HotReloadAgent.BreakpointCheckpoint()' to D:\a\_work\1\s\HotReload\Source\Xamarin.HotReload.Agent\HotReloadAgent.cs:420 [0x00000].
INFO: 2024-07-20 20:23:25.340 AbMobileAi[14064:4382296] You've implemented -[<UIApplicationDelegate> application:performFetchWithCompletionHandler:], but you still need to add "fetch" to the list of your supported UIBackgroundModes in your Info.plist.
Thread started: dotnet/maui#3
Thread started: dotnet/maui#4
Thread started: dotnet/maui#5
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Runtime.Serialization.Json.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Private.DataContractSerialization.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Runtime.Serialization.Xml.dll [External]
Thread started: .NET Timer dotnet/maui#6
Thread started: <Thread Pool> dotnet/maui#7
Thread started: .NET TP Gate dotnet/maui#8
Thread started: <Thread Pool> dotnet/maui#9
Loaded assembly: /private/var/containers/Bundle/Application/A5856E94-ECFF-414F-BD51-A4DC5138EBD7/AbMobileAi.app/System.Xml.XmlSerializer.dll [External]
Thread started: <Thread Pool> dotnet/maui#10
Thread finished: <Thread Pool> dotnet/maui#7
The thread 7 has exited with code 0 (0x0).
Last update - tested by using a non-blazor hybrid app (XAML) - same result using the bolierplate template.
@rolfbjarne thoughts?
@rolfbjarne @PureWeen? Sorry, don't want to bug you guys too much, but I've been trying to get this going still, no luck.
@jeffschwMSFT I was able to get my device connected to my laptop to test with a direct connected device. Here's the logs that come up after the splash screen appears and we go right to the white screen:
Here are the unique errors extracted from the provided log:
Failed to force load assembly - System.Security.AccessControl.dll
Type: System.Security.Policy.Evidence Exception: 'Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.' Failed to force load assembly - System.Security.AccessControl.dll
Type: System.Security.AccessControl.AuthorizationRuleCollection Exception: 'Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.' Failed to force load assembly - System.Security.AccessControl.dll
Type: System.Security.AccessControl.PrivilegeNotHeldException Exception: 'Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.' Failed to force load assembly - System.IO.FileSystem.Watcher.dll
Type: System.IO.FileSystemWatcher Exception: 'System.IO.FileSystem.Watcher is not supported on this platform.' Failed to force load assembly - System.IO.FileSystem.Watcher.dll
Type: System.IO.InternalBufferOverflowException Exception: 'System.IO.FileSystem.Watcher is not supported on this platform.' Failed to force load assembly - System.Net.Quic.dll
Type: System.Net.Quic.QuicClientConnectionOptions Exception: 'System.Net.Quic is not supported on this platform: {0}' Failed to force load assembly - System.Net.Quic.dll
Type: System.Net.Quic.QuicListenerOptions Exception: 'System.Net.Quic is not supported on this platform: {0}' Failed to force load assembly - System.Net.Quic.dll
Type: System.Net.Quic.QuicReceiveWindowSizes Exception: 'System.Net.Quic is not supported on this platform: {0}' Failed to force load assembly - System.Net.Quic.dll
Type: System.Net.Quic.QuicServerConnectionOptions Exception: 'System.Net.Quic is not supported on this platform: {0}' Failed to force load assembly - System.Security.Principal.Windows.dll
Type: Microsoft.Win32.SafeHandles.SafeAccessTokenHandle Exception: 'Windows Principal functionality is not supported on this platform.' Failed to force load assembly - System.Security.Principal.Windows.dll
Type: System.Security.Principal.IdentityNotMappedException Exception: 'Windows Principal functionality is not supported on this platform.' Failed to force load assembly - System.Security.Principal.Windows.dll
Type: System.Security.Principal.IdentityReferenceCollection Exception: 'Windows Principal functionality is not supported on this platform.' Failed to force load assembly - System.IO.Pipes.AccessControl.dll
Type: System.IO.Pipes.PipeSecurity Exception: 'Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.' Failed to force load assembly - Microsoft.Win32.Registry.dll
Type: Microsoft.Win32.SafeHandles.SafeRegistryHandle Exception: 'Registry is not supported on this platform.' Failed to force load assembly - Microsoft.Win32.Registry.dll
Type: System.Security.AccessControl.RegistrySecurity Exception: 'Access Control List (ACL) APIs are part of resource management on Windows and are not supported on this platform.' Failed to force load assembly - System.Runtime.InteropServices.JavaScript.dll
Type: System.Runtime.InteropServices.JavaScript.JSExportAttribute Exception: 'System.Runtime.InteropServices.JavaScript is not supported on this platform.' Could not resolve assembly - Microsoft.VisualStudio.DesignTools.MobileTapContracts.dll
Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/9089F844-7390-4E2B-B8DB-E5A41A0088B4/Documents/AbMobileMaui.content/Microsoft.VisualStudio.DesignTools.MobileTapContracts.dll' or one of its dependencies. Could not resolve assembly - Microsoft.VisualStudio.DesignTools.TapContract.dll
Details: Could not load file or assembly '/var/mobile/Containers/Data/Application/9089F844-7390-4E2B-B8DB-E5A41A0088B4/Documents/AbMobileMaui.content/Microsoft.VisualStudio.DesignTools.TapContract.dll' or one of its dependencies. UIBackgroundModes Configuration Issue
Message: You've implemented -[
@mattleibow so I have a bit more info here - it seems it's iOS18. I just tested the app on an iOS 17 device and it loads fine.
That itself is still concerning though, because iOS 18 will be available to the public in 2 months, so whatever this issue is really needs to be fixed before iOS goes gold.
@Redth Could you help us get this triaged from the MAUI side of things first to see it can be narrowed down?
@rolfbjarne @dalexsoto could you help take a look?
This is fixed in .NET 9 Preview 7 once it is released, this goes back to https://github.com/dotnet/runtime/pull/105813
@dalexsoto I'm not 100% convinced - this error is occurring on my testflight build in release mode as well. The exact same build works fine from testflight on iOS 17, but the error occurs on iOS 18.
I will of course try it on Preview 7, but if it's a matter of release vs debug, my error occurs on both.
@caliberdigitalllc fair enough, I'll re-open this and you let us know :)
@caliberdigitalllc fair enough, I'll re-open this and you let us know :)
Thanks man. Not trying to doubt you in any way, but I do think this fix needs to be validated on a testlight release build to be sure.
FWIW, here's my release build command for test flight:
dotnet publish -f net9.0-ios -c Release \
-p:ArchiveOnBuild=true \
-p:CodesignKey="iPhone Distribution: AlzBetter LLC (8DVSMQ7G8N)" \
-p:CodesignProvision="iOS Adhoc Distribution AI" \
-p:CodesignTeamId="8DVSMQ7G8N"
And here's my config from CS Proj. If any of it's wrong, please do advise.
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|net9.0-ios|AnyCPU'">
<BuildIpa>true</BuildIpa>
<CodesignKey>iPhone Distribution: AlzBetter LLC (8DVSMQ7G8N)</CodesignKey>
<CodesignProvision>iOS Adhoc Distribution AI</CodesignProvision>
<ApplicationTitle>AlzBetter AI</ApplicationTitle>
<ApplicationDisplayVersion>1.0.0</ApplicationDisplayVersion>
<ApplicationVersion>1</ApplicationVersion>
</PropertyGroup>
if it's a matter of release vs debug, my error occurs on both.
If it's the same issue as https://github.com/dotnet/runtime/pull/105813, I believe it can happen even in Release if you use <UseInterpreter>true</UseInterpreter>
on iOS (is that correct @ivanpovazan ?).
if it's a matter of release vs debug, my error occurs on both.
If it's the same issue as #105813, I believe it can happen even in Release if you use
<UseInterpreter>true</UseInterpreter>
on iOS (is that correct @ivanpovazan ?).
This sort of speaks to requesting better documentation on what flags should be set for all of the target systems and release types, like what are the "best setups" in the CSProj for each.
hello @caliberdigitalllc!
Regarding the "best setups", ideally when you target iOS platforms you shouldn't have to enable intepreter and the default setting of the project file would give you the best performance. However, it is possible that some apps or referenced nuget packages are not AOT-compatible (require dynamic code) for which the AOT compiler is not able to generate code ahead of time. For such apps, enabling the interpreter is needed as otherwise the app would crash during runtime. This is documented in: https://learn.microsoft.com/en-us/dotnet/maui/macios/interpreter?view=net-maui-8.0
Unfortunately, it seems that you are experiencing a bug with our previous .NET9 preview releases which made these configurations additionally confusing. As @dalexsoto mentioned, we fixed this for our next release and will validate it once it is out.
Thanks @ivanpovazan :) I'll look forward to trying again in a week or two when P7 comes out.
@caliberdigitalllc preview 7 is now publicly available https://dotnet.microsoft.com/en-us/download/dotnet/9.0
I verified that the template hybrid blazor app does not crash on startup in Release mode when UseInterpreter=true
.
Could you please check it out with your application as well?
@caliberdigitalllc preview 7 is now publicly available https://dotnet.microsoft.com/en-us/download/dotnet/9.0
I verified that the template hybrid blazor app does not crash on startup in Release mode when
UseInterpreter=true
. Could you please check it out with your application as well?
Yep! I should be pushing a fresh build out in the next couple of days compiled on P7. I'll let you know.
This issue has been marked needs-author-action
and may be missing some important information.
Preview 7 fixed this, thank you!
Description
Hey all,
Been fighting with this for a while now. My app works fine on mac os, but on ios it only works on the simulator.
The same error occurs whether I send it to test flight or use a connected ios device (connected to a mac on my network)
It crashes after the splash screen displays.
Here is my debug config for ios:
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
9.0.0-preview.6.24327.7
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
17+
Did you find any workaround?
no
Relevant log output