2017-04-25 1 views
2

Windows 환경을 시작 될 때 충돌합니다. 그러나 최신 Xamarin 업데이트 (Windows 및 Mac)를 적용한 후 iOS가 시작되면 앱이 충돌합니다. 다른 사람이 어떤 생각을 가지고있는 경우자 마린 iOS 앱은 곧

OS Version:   iPhone OS 10.3.1 (14E304) 
Report Version:  104 

Exception Type: EXC_CRASH (SIGABRT) 
Exception Codes: 0x0000000000000000, 0x0000000000000000 
Exception Note: EXC_CORPSE_NOTIFY 
Triggered by Thread: 0 

Application Specific Information: 
abort() called 

Filtered syslog: 
None found 

Thread 0 name: tid_403 Dispatch queue: com.apple.main-thread 
Thread 0 Crashed: 
0 libsystem_kernel.dylib   0x000000018c815014 __pthread_kill + 8 
1 libsystem_pthread.dylib   0x000000018c8df334 pthread_kill + 112 
2 libsystem_c.dylib    0x000000018c7899c4 abort + 140 
3 MyAppiOS      0x0000000100236074 0x100018000 + 2220148 
4 libsystem_platform.dylib  0x000000018c8d931c _sigtramp + 52 
5 libsystem_pthread.dylib   0x000000018c8df334 pthread_kill + 112 
6 libsystem_c.dylib    0x000000018c7899c4 abort + 140 
7 MyAppiOS      0x000000010036a3c8 0x100018000 + 3482568 
8 MyAppiOS      0x000000010034b238 0x100018000 + 3355192 
9 MyAppiOS      0x0000000100200aa8 0x100018000 + 2001576 
10 MyAppiOS      0x0000000100254408 0x100018000 + 2343944 
11 MyAppiOS      0x0000000100253f6c 0x100018000 + 2342764 
12 MyAppiOS      0x00000001003698a0 0x100018000 + 3479712 
13 MyAppiOS      0x00000001003699fc 0x100018000 + 3480060 
14 MyAppiOS      0x0000000100376918 0x100018000 + 3533080 
15 MyAppiOS      0x0000000101550f50 0x100018000 + 22253392 
16 libdyld.dylib     0x000000018c70559c start + 4 

내가 궁금 :

Launching 'MyApp.iOS' on 'Peter's iPad'... 
Loaded assembly: /private/var/containers/Bundle/Application/A2B70246-8D92-4027-941A-B1A17589A251/MyAppiOS.app/.monotouch-64/System.dll [External] 
Loaded assembly: /private/var/containers/Bundle/Application/A2B70246-8D92-4027-941A-B1A17589A251/MyAppiOS.app/.monotouch-64/Mono.Dynamic.Interpreter.dll [External] 
Loaded assembly: /private/var/containers/Bundle/Application/A2B70246-8D92-4027-941A-B1A17589A251/MyAppiOS.app/.monotouch-64/System.Core.dll [External] 
Loaded assembly: /private/var/containers/Bundle/Application/A2B70246-8D92-4027-941A-B1A17589A251/MyAppiOS.app/.monotouch-64/Xamarin.iOS.dll [External] 
Loaded assembly: /private/var/containers/Bundle/Application/A2B70246-8D92-4027-941A-B1A17589A251/MyAppiOS.app/.monotouch-64/System.Xml.dll [External] 
Loaded assembly: /private/var/containers/Bundle/Application/A2B70246-8D92-4027-941A-B1A17589A251/MyAppiOS.app/.monotouch-64/Xamarin.Forms.Platform.dll 
Loaded assembly: /private/var/containers/Bundle/Application/A2B70246-8D92-4027-941A-B1A17589A251/MyAppiOS.app/.monotouch-64/Xamarin.Forms.Core.dll 
Loaded assembly: /private/var/containers/Bundle/Application/A2B70246-8D92-4027-941A-B1A17589A251/MyAppiOS.app/.monotouch-64/System.Net.Http.dll [External] 
Loaded assembly: /private/var/containers/Bundle/Application/A2B70246-8D92-4027-941A-B1A17589A251/MyAppiOS.app/.monotouch-64/System.ServiceModel.Internals.dll [External] 
Loaded assembly: /private/var/containers/Bundle/Application/A2B70246-8D92-4027-941A-B1A17589A251/MyAppiOS.app/.monotouch-64/System.Runtime.Serialization.dll [External] 
Loaded assembly: /private/var/containers/Bundle/Application/A2B70246-8D92-4027-941A-B1A17589A251/MyAppiOS.app/.monotouch-64/Xamarin.Forms.Platform.iOS.dll [External] 
2017-04-25 09:38:02.688 MyAppiOS[286:72426] error: Failed to load AOT module 'MyAppiOS' while running in aot-only mode: doesn't match assembly. 
2017-04-25 09:38:02.689 MyAppiOS[286:72426] critical: Stacktrace: 

2017-04-25 09:38:02.689 MyAppiOS[286:72426] critical: 
Native stacktrace: 
2017-04-25 09:38:02.780 MyAppiOS[286:72426] critical: 0 MyAppiOS       0x00000001002b5f24 mono_handle_native_sigsegv + 256 
2017-04-25 09:38:02.780 MyAppiOS[286:72426] critical: 1 libsystem_platform.dylib   0x000000018c8d931c _sigtramp + 52 
2017-04-25 09:38:02.780 MyAppiOS[286:72426] critical: 2 libsystem_pthread.dylib    0x000000018c8df334 pthread_kill + 112 
2017-04-25 09:38:02.780 MyAppiOS[286:72426] critical: 3 libsystem_c.dylib     0x000000018c7899c4 abort + 140 
2017-04-25 09:38:02.780 MyAppiOS[286:72426] critical: 4 MyAppiOS       0x00000001003ea3c8 _ZL12log_callbackPKcS0_S0_iPv + 76 
2017-04-25 09:38:02.781 MyAppiOS[286:72426] critical: 5 MyAppiOS       0x00000001003cb238 monoeg_g_log + 112 
2017-04-25 09:38:02.781 MyAppiOS[286:72426] critical: 6 MyAppiOS       0x0000000100280aa8 load_aot_module + 1296 
2017-04-25 09:38:02.781 MyAppiOS[286:72426] critical: 7 MyAppiOS       0x00000001002d4408 mono_assembly_load_from_full + 1060 
2017-04-25 09:38:02.781 MyAppiOS[286:72426] critica 
l: 8 MyAppiOS       0x00000001002d3f6c mono_assembly_open_a_lot + 980 
2017-04-25 09:38:02.781 MyAppiOS[286:72426] critical: 9 MyAppiOS       0x00000001003e98a0 _Z21xamarin_open_assemblyPKc + 256 
2017-04-25 09:38:02.781 MyAppiOS[286:72426] critical: 10 MyAppiOS       0x00000001003e99fc xamarin_open_and_register + 28 
2017-04-25 09:38:02.781 MyAppiOS[286:72426] critical: 11 MyAppiOS       0x00000001003f6918 xamarin_main + 1856 
2017-04-25 09:38:02.781 MyAppiOS[286:72426] critical: 12 MyAppiOS       0x00000001015d0f50 main + 96 
2017-04-25 09:38:02.782 MyAppiOS[286:72426] critical: 13 libdyld.dylib      0x000000018c70559c <redacted> + 4 
2017-04-25 09:38:02.782 MyAppiOS[286:72426] critical: 
================================================================= 
Got a SIGABRT while executing native code. This usually indicates 
a fatal error in the mono runtime or one of the na 
tive libraries 
used by your application. 
================================================================= 
The app has been terminated. 
Launch succeeded. The app 'MyApp.iOS' has been successfully launched on 'Pradeep's iPad'. 

그리고 여기에 내가 엑스 코드에서 장치 로그에 표시되는 내용입니다 : 내가 비주얼 스튜디오의 출력 창에 표시되는 내용 여기

입니다 이 문제를 해결하는 방법. 어떤 포인터도 감사 할 것입니다. 문안 인사.

+0

같은 해결책이 있습니까? – jdmdevdotnet

답변

0

저는이 버그 [1]로 인해 버전 2.3.4.231에서 보관 한 Xamarin.Forms를 제외한 모든 패키지를 업데이트하여이 문제를 해결할 수있었습니다. 패키지를 업데이트 한 후 모든 프로젝트를 재구성하여 저에게 효과적이었습니다. 작동하지 않는 경우, 다시 빌드하기 전에 bin 및 obj 폴더를 삭제하십시오.

추 신 : Xamarin.Forms를 업데이트 할 때 모든 프로젝트 (공유, iOS 및 Android)에서 동일한 버전인지 확인하십시오.

[1] https://forums.xamarin.com/discussion/95724/xamarin-forms-2-3-4-247-update-project-wont-build