Hello.
I would like to use SFImageEditor to develop the xamarin project but have one issue.
That is that the app is crashed when tapping "Save" button.
Now I could not have some message regarding to that in my project but if running the sample project, the build shows the following message.
2018-02-11 10:38:52.565 SampleBrowser[13522:832174] critical:
Native stacktrace:
2018-02-11 10:38:52.760 SampleBrowser[13522:832174] critical: 0 SampleBrowser 0x00000001061642a4 mono_handle_native_crash + 244
2018-02-11 10:38:52.760 SampleBrowser[13522:832174] critical: 1 libsystem_platform.dylib 0x0000000116a04b3a _sigtramp + 26
2018-02-11 10:38:52.761 SampleBrowser[13522:832174] critical: 2 ??? 0x0000700006f5a728 0x0 + 123145419073320
2018-02-11 10:38:52.761 SampleBrowser[13522:832174] critical: 3 libsystem_kernel.dylib 0x00000001169dd34f fcntl + 0
2018-02-11 10:38:52.762 SampleBrowser[13522:832174] critical: 4 TCC 0x0000000116ea8af7 __TCCAccessRequest_block_invoke_2.85 + 0
2018-02-11 10:38:52.762 SampleBrowser[13522:832174] critical: 5 TCC 0x0000000116ea8a41 __CRASHING_DUE_TO_PRIVACY_VIOLATION__ + 0
2018-02-11 10:38:52.762 SampleBrowser[13522:832174] critical: 6 TCC 0x0000000116eac273 __tccd_send_block_invoke + 274
2018-02-11 10:38:52.763 SampleBrowser[13522:832174] critical: 7 libxpc.dylib 0x000000011692761c _xpc_connection_reply_callout + 36
2018-02-11 10:38:52.763 SampleBrowser[13522:832174] critical: 8 libxpc.dylib 0x000000011691c9cc _xpc_connection_call_reply_async + 82
2018-02-11 10:38:52.764 SampleBrowser[13522:832174] critical: 9 libdispatch.dylib 0x000000011655721c _dispatch_client_callout3 + 8
2018-02-11 10:38:52.764 SampleBrowser[13522:832174] critical: 10 libdispatch.dylib 0x000000011656c1d4 _dispatch_mach_msg_async_reply_invoke + 364
2018-02-11 10:38:52.764 SampleBrowser[13522:832174] critical: 11 libdispatch.dylib 0x000000011655bc97 _dispatch_queue_override_invoke + 477
2018-02-11 10:38:52.764 SampleBrowser[13522:832174] critical: 12 libdispatch.dylib 0x0000000116561980 _dispatch_root_queue_drain + 568
2018-02-11 10:38:52.764 SampleBrowser[13522:832174] critical: 13 libdispatch.dylib 0x00000001165616ea _dispatch_worker_thread3 + 119
2018-02-11 10:38:52.764 SampleBrowser[13522:832174] critical: 14 libsystem_pthread.dylib 0x0000000116a165a2 _pthread_wqthread + 1299
2018-02-11 10:38:52.765 SampleBrowser[13522:832174] critical: 15 libsystem_pthread.dylib 0x0000000116a1607d start_wqthread + 13
2018-02-11 10:38:52.765 SampleBrowser[13522:832174] critical:
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
So I have checked the info.plist and it has two settings for the Privacy-camera usage description and privacy-photo library usage description.
I am not sure why I meet this issue.
So I should be grateful if somebody helps me to avoid this issue.
Regards.
Looking forward to hearing asap.
Hong Lai
Attachment:
issue_pic_fa85db4f.rar