Forum Xamarin.iOS

Works well on emulators but not on a physical iPhone

rayxxirayxxi Member ✭✭

Hello Everyone.

My project works well on Android emulator/physicals device, for iOS works well only on the emulator, when I trying to debug on physicals iPhone X/11/12, this one does not load my launch screen just loads the default Xamarin blue screen and after 4 seconds the screen closes on its own that's all.

Thanks in advanced.

Tagged:

Answers

  • AsurAsur USMember ✭✭✭

    Can you post the device logs. Without that, you would be lucky if you get an answer

  • rayxxirayxxi Member ✭✭

    Attached the file with the crashlog.

    Thank you.

  • rayxxirayxxi Member ✭✭

    2021-03-15 20:11:07.084 Xamarin.PreBuilt.iOS[5598:1494689] Xamarin.iOS: Successfully received USB connection from the IDE on port 10000, fd: 6
    2021-03-15 20:11:07.091 Xamarin.PreBuilt.iOS[5598:1494689] Xamarin.iOS: Processing: 'start profiler: no'
    2021-03-15 20:11:07.092 Xamarin.PreBuilt.iOS[5598:1494662] Xamarin.iOS: Profiler not loaded (disabled)

    Loaded assembly: /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.iOS.dll [External]
    Loaded assembly: /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/System.dll [External]
    Loaded assembly: /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Mono.Security.dll [External]
    Loaded assembly: /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS.exe [External]
    Thread started: #2
    Loaded assembly: /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS.Library.dll [External]
    Loaded assembly: /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/netstandard.dll [External]
    Loaded assembly: /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/System.Core.dll [External]
    2021-03-15 20:11:07.768 Xamarin.PreBuilt.iOS[5598:1494662] Content folder: /var/mobile/Containers/Data/Application/BEA739D3-A1C1-45E9-B6A0-C24636F137C8/Documents/HR.iOS.content

    Thread started: #3
    Thread started: #4
    Thread started: #5
    Thread started: #6
    Thread started: #7
    2021-03-15 20:11:08.143 Xamarin.PreBuilt.iOS[5598:1494662] Forms app path /var/mobile/Containers/Data/Application/BEA739D3-A1C1-45E9-B6A0-C24636F137C8/Documents/HR.iOS.content/HR.iOS.exe

    2021-03-15 20:11:08.144 Xamarin.PreBuilt.iOS[5598:1494662] Xamarin.iOS: Unable to locate assembly 'HR' (culture: '')
    2021-03-15 20:11:08.145 Xamarin.PreBuilt.iOS[5598:1494662] Xamarin.iOS: Unable to locate assembly 'HR' (culture: '')

    2021-03-15 20:11:08.149 Xamarin.PreBuilt.iOS[5598:1494662] Xamarin.iOS: Unable to locate assembly 'Xamarin.Forms.Platform.iOS' (culture: '')
    2021-03-15 20:11:08.149 Xamarin.PreBuilt.iOS[5598:1494662] Xamarin.iOS: Unable to locate assembly 'Xamarin.Forms.Platform.iOS' (culture: '')

    2021-03-15 20:11:08.151 Xamarin.PreBuilt.iOS[5598:1494662] Xamarin.iOS: Unable to locate assembly 'Firebase.CloudMessaging' (culture: '')

    2021-03-15 20:11:08.151 Xamarin.PreBuilt.iOS[5598:1494662] Xamarin.iOS: Unable to locate assembly 'Firebase.CloudMessaging' (culture: '')

    Loaded assembly: /private/var/mobile/Containers/Data/Application/BEA739D3-A1C1-45E9-B6A0-C24636F137C8/Documents/HR.iOS.content/HR.iOS.exe
    Loaded assembly: /private/var/mobile/Containers/Data/Application/BEA739D3-A1C1-45E9-B6A0-C24636F137C8/Documents/HR.iOS.content/HR.dll
    Loaded assembly: /private/var/mobile/Containers/Data/Application/BEA739D3-A1C1-45E9-B6A0-C24636F137C8/Documents/HR.iOS.content/Xamarin.Forms.Platform.iOS.dll [External]
    Loaded assembly: /private/var/mobile/Containers/Data/Application/BEA739D3-A1C1-45E9-B6A0-C24636F137C8/Documents/HR.iOS.content/Firebase.CloudMessaging.dll [External]
    2021-03-15 20:11:08.210 Xamarin.PreBuilt.iOS[5598:1494662] Xamarin.Forms AppDelegate name: AppDelegate

    =================================================================

    Native Crash Reporting

    Got a segv while executing native code. This usually indicates

    a fatal error in the mono runtime or one of the native libraries

    used by your application.

    =================================================================

    Native stacktrace:

    0x102294120 - /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS : mono_dump_native_crash_info
    
    0x10228acbc - /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS : mono_handle_native_crash
    
    0x102297a60 - /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS : mono_sigsegv_signal_handler_debug
    0x1d894b298 - /usr/lib/system/libsystem_platform.dylib : <redacted>
    0x1a1ec821c - /usr/lib/libobjc.A.dylib : <redacted>
    0x18cae6830 - /usr/lib/system/libdyld.dylib : <redacted>
    0x18cad817c - /usr/lib/system/libdyld.dylib : <redacted>
    0x18cae7334 - /usr/lib/system/libdyld.dylib : <redacted>
    0x18cae6e1c - /usr/lib/system/libdyld.dylib : <redacted>
    0x18cae8d04 - /usr/lib/system/libdyld.dylib : <redacted>
    0x18cadad34 - /usr/lib/system/libdyld.dylib : <redacted>
    0x102440970 - /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS : do_icall
    0x10243f010 - /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS : do_icall_wrapper
    0x102435a8c - /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/
    

    HR.iOS.app/Xamarin.PreBuilt.iOS : interp_exec_method_full
    0x102433eb0 - /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS : interp_runtime_invoke
    0x10229ad3c - /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS : mono_jit_runtime_invoke
    0x1023492c0 - /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS : mono_runtime_invoke_checked
    0x10234e564 - /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS : mono_runtime_exec_main_checked
    0x10227f8f4 - /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS : mono_jit_exec
    0x102431984 - /private/var/containers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS : xamarin_main
    0x102247c34 - /private/var/cont
    ainers/Bundle/Application/B302F530-9DF0-4090-A27F-4598729CD583/HR.iOS.app/Xamarin.PreBuilt.iOS : main
    0x18cad66b0 - /usr/lib/system/libdyld.dylib :

    =================================================================

    Basic Fault Address Reporting

    Memory around native instruction pointer (0x1086e7e88):0x1086e7e78 f6 57 c3 a8 c0 03 5f d6 00 08 40 f9 c0 03 5f d6 .W....[email protected].
    0x1086e7e88 f4 4f be a9 fd 7b 01 a9 fd 43 00 91 1f 20 03 d5 .O...{...C... ..
    0x1086e7e98 08 0d 02 58 00 01 40 fd 1f 20 03 d5 21 fb 00 5c [email protected] ..!..\
    0x1086e7ea8 00 20 61 1e 65 02 00 54 e0 e7 01 30 1f 20 03 d5 . a.e..T...0. ..

    =================================================================

    Managed Stacktrace:

      at <unknown> <0xffffffff>
      at ObjCRuntime.Dlfcn:_dlopen <0x00026>
      at ObjCRuntime.Dlfcn:dlopen <0x00010>
      at Xamarin.PreBuilt.iOS.Applications:LoadFrameworks <0x0
    

    009e>
    at Xamarin.PreBuilt.iOS.Applications:Main <0x00202>

    at :runtime_invoke_direct_void_string[] <0x00092>

    The app has been terminated.

Sign In or Register to comment.