Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

ios8 MotionActivityDemo is not working #126

Closed
kcharubin opened this issue Oct 17, 2016 · 3 comments
Closed

ios8 MotionActivityDemo is not working #126

kcharubin opened this issue Oct 17, 2016 · 3 comments

Comments

@kcharubin
Copy link

I'm trying to run MotionActivityDemo on iOS 10 (iphone SE) and i get following stack trace.
New Xamarin Studio version (Community) , 6.1.1 build 15

2016-10-17 17:20:06.355 MotionActivityDemo[1189:871273] critical: 0 MotionActivityDemo 0x00076f11 mono_handle_native_sigsegv + 240
2016-10-17 17:20:06.355 MotionActivityDemo[1189:871273] critical: 1 libsystem_platform.dylib 0x1ac2b26d _sigtramp + 24
2016-10-17 17:20:06.355 MotionActivityDemo[1189:871273] critical: 2 libsystem_kernel.dylib 0x1ab77d8f + 64
2016-10-17 17:20:06.355 MotionActivityDemo[1189:871273] critical: 3 libsystem_kernel.dylib 0x1ab77dd9 system_set_sfi_window + 0
2016-10-17 17:20:06.355 MotionActivityDemo[1189:871273] critical: 4 TCC 0x1d280e85 + 228
2016-10-17 17:20:06.355 MotionActivityDemo[1189:871273] critical: 5 TCC 0x1d280da1 + 0
2016-10-17 17:20:06.355 MotionActivityDemo[1189:871273] critical: 6 TCC 0x1d28357b + 276
2016-10-17 17:20:06.355 MotionActivityDemo[1189:871273] critical: 7 libxpc.dylib 0x1ac6115f + 46
2016-10-17 17:20:06.355 MotionActivityDemo[1189:871273] critical: 8 libxpc.dylib 0x1ac61101 + 26
2016-10-17 17:20:06.355 MotionActivityDemo[1189:871273] critical: 9 libdispatch.dylib 0x1aa8649b + 604
2016-10-17 17:20:06.356 MotionActivityDemo[1189:871273] critical: 10 libdispatch.dylib 0x1aa87a91 + 378
2016-10-17 17:20:06.356 MotionActivityDemo[1189:871273] critical: 11 libdispatch.dylib 0x1aa878b7 + 106
2016-10-17 17:20:06.356 MotionActivityDemo[1189:871273] critical: 12 libsystem_pthread.dylib 0x1ac2d947 _pthread_wqthread + 1168
2016-10-17 17:20:06.356 MotionActivityDemo[1189:871273] critical: 13 libsystem_pthread.dylib 0x1ac2d49c start_wqthread + 8
#2016-10-17 17:20:06.356 MotionActivityDemo[1189:871273] 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.

@kcharubin
Copy link
Author

Ok, I've found solution. You have to add NSMotionUsageDescription to your Info.plist file.

@olegoid
Copy link
Contributor

olegoid commented Oct 20, 2016

Thanks for bringing this up @kcharubin. We tried to cover all the missing keys in this commit - 976dfd8 but it seems like this sample fell off our radar.

@olegoid
Copy link
Contributor

olegoid commented Oct 20, 2016

Should be fixed in #128

@olegoid olegoid closed this as completed Oct 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants