Hi,
 
At the moment we're setting up a new and much better forum for you, so we can provide even better support! This is why this forum is in ‘read-only' mode for as long as we're migrating the content.
 
Please visit our brand new forum at https://support.wikitude.com to report your issues.
 
Should you wait for an urgent answer, please contact us via forum@wikitude.com (make sure to include the title of your post, so we can help you more efficiently).
 
Thank you,
The Wikitude Team
« Back

Wikitude Xamarin iOS SDK 5.3 sample crash

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Wikitude Xamarin iOS SDK 5.3 sample crash
ios xamarin xamarin.ios
Answer
11/8/16 9:15 AM

Hi,

I've just downloaded the lastest version of the SDK for Xamarin (5.3)

The Android verison works but impossible to start the iOS sample solution provided with the SDK.
The sample app crash on iOS10.1.1 on an iPhone 6s when loading the sample world
(Xamarin studio, xcode and osx are up to date with lastest version)

>> navigation = architectView.LoadArchitectWorldFromURL(NSUrl.FromString(path), Wikitude.Architect.WTFeatures.WTFeature_2DTracking);

Here is the applicaiont output from Xamarin Studio:

Launched application 'com.wikitude.xamarinexample' on 'iPhone de fred' with pid 1209
2016-11-08 09:07:28.725 WikitudeSDKExample[1209:370329] Xamarin.iOS: Successfully received USB connection from the IDE on port 10000, fd: 6
2016-11-08 09:07:28.726 WikitudeSDKExample[1209:370329] Xamarin.iOS: Processing: 'start profiler: no'
2016-11-08 09:07:28.726 WikitudeSDKExample[1209:370278] Xamarin.iOS: Profiler not loaded (disabled)
Loaded assembly: /private/var/containers/Bundle/Application/F14264F9-800B-4F8A-81B3-BD7A2344230F/WikitudeSDKExample.app/.monotouch-64/System.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/F14264F9-800B-4F8A-81B3-BD7A2344230F/WikitudeSDKExample.app/.monotouch-64/Mono.Dynamic.Interpreter.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/F14264F9-800B-4F8A-81B3-BD7A2344230F/WikitudeSDKExample.app/.monotouch-64/System.Core.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/F14264F9-800B-4F8A-81B3-BD7A2344230F/WikitudeSDKExample.app/.monotouch-64/Xamarin.iOS.dll [External]
Loaded assembly: /private/var/containers/Bundle/Application/F14264F9-800B-4F8A-81B3-BD7A2344230F/WikitudeSDKExample.app/.monotouch-64/Wikitude.SDK.dll [External]
Thread started:  #2
Loaded assembly: /private/var/containers/Bundle/Application/F14264F9-800B-4F8A-81B3-BD7A2344230F/WikitudeSDKExample.app/.monotouch-64/WikitudeSDKExample.exe
2016-11-08 09:07:29.498 WikitudeSDKExample[1209:370318] critical:
Native stacktrace:
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370318] critical:          0   WikitudeSDKExample                  0x00000001003ab48c mono_handle_native_sigsegv + 260
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370278] Wikitude SDK version 5.3.0 is running.
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370318] critical:          1   libsystem_platform.dylib            0x0000000186504348 _sigtramp + 52
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370318] critical:          2   libsystem_kernel.dylib              0x000000018643d480 <redacted> + 100
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370318] critical:          3   libsystem_kernel.dylib              0x000000018643d4c8 system_set_sfi_window + 0
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370318] critical:          4   TCC                                 0x0000000189680328 <redacted> + 0
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370318] critical:          5   TCC                                 0x0000000189680224 <redacted> + 0
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370318] critical:          6   TCC                                 0x0000000189683330 <redacted> + 348
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370318] critical:          7   libxpc.dylib                        0x000000018654601c <redacted> + 80
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370318] critical:          8   libxpc.dylib                        0x0000000186545f8c <redacted> + 40
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370318] critical:          9   libdispatch.dylib                   0x00000001862fd1c0 <redacted> + 16
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370318] critical:          10  libdispatch.dylib                   0x000000018630bab4 <redacted> + 732
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370318] critical:          11  libdispatch.dylib                   0x000000018630d38c <redacted> + 572
2016-11-08 09:07:29.623 WikitudeSDKExample[1209:370318] critical:          12  libdispatch.dylib                   0x000000018630d0ec <redacted> + 124
2016-11-08 09:07:29.624 WikitudeSDKExample[1209:370318] critical:          13  libsystem_pthread.dylib             0x00000001865062b8 _pthread_wqthread + 1288
2016-11-08 09:07:29.624 WikitudeSDKExample[1209:370318] critical:          14  libsystem_pthread.dylib             0x0000000186505da4 start_wqthread + 4
2016-11-08 09:07:29.624 WikitudeSDKExample[1209:370318] 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.
=================================================================

 

Is there something to do before we can use the sample? 

Can anyone help me?

 

Thanks


RE: Wikitude Xamarin iOS SDK 5.3 sample crash
Answer
11/9/16 9:47 AM as a reply to Web Mixer.

Hi,
It's the missing NSCameraUsageDescription in the applications .plist. Please download the Xamarin Component from our beta release page or add the key manually.

Best regards,
Andreas