xamarin / ios-samples

Xamarin.iOS sample apps

Home Page:http://docs.microsoft.com/xamarin/ios/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AirLocate crashes on startup

omatrot opened this issue · comments

AirLocate sample crashes on startup.
Does anyone know what?

=================================================================
	Native Crash Reporting
=================================================================
Got a abrt 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:
=================================================================
	0x100222ea0 - /private/var/containers/Bundle/Application/A47539CD-8A12-4DD5-BECF-27915C015B56/AirLocation.app/AirLocation : 
	0x100219974 - /private/var/containers/Bundle/Application/A47539CD-8A12-4DD5-BECF-27915C015B56/AirLocation.app/AirLocation : 
	0x1002223e8 - /private/var/containers/Bundle/Application/A47539CD-8A12-4DD5-BECF-27915C015B56/AirLocation.app/AirLocation : 
	0x1ef87ba90 - /usr/lib/system/libsystem_platform.dylib : <redacted>
	0x1df1ddbf0 - /usr/lib/system/libsystem_kernel.dylib : <redacted>
	0x1df1ddc24 - /usr/lib/system/libsystem_kernel.dylib : 
	0x1be06fa28 - /System/Library/PrivateFrameworks/TCC.framework/TCC : <redacted>
	0x1be0701b8 - /System/Library/PrivateFrameworks/TCC.framework/TCC : <redacted>
	0x1be06d1fc - /System/Library/PrivateFrameworks/TCC.framework/TCC : <redacted>
	0x1ef971d48 - /usr/lib/system/libxpc.dylib : <redacted>
	0x1ef964b90 - /usr/lib/system/libxpc.dylib : <redacted>
	0x1a8cb1008 - /usr/lib/system/libdispatch.dylib : <redacted>
	0x1a8ccef58 - /usr/lib/system/libdispatch.dylib : <redacted>
	0x1a8cc37cc - /usr/lib/system/libdispatch.dylib : <redacted>
	0x1ef910e30 - /usr/lib/system/libsystem_pthread.dylib : _pthread_wqthread
	0x1ef910b98 - /usr/lib/system/libsystem_pthread.dylib : start_wqthread

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x1df1bb4c4):0x1df1bb4b4  ff 0f 5f d6 c0 03 5f d6 30 41 80 d2 01 10 00 d4  .._..._.0A......
0x1df1bb4c4  03 01 00 54 7f 23 03 d5 fd 7b bf a9 fd 03 00 91  ...T.#...{......
0x1df1bb4d4  75 cd ff 97 bf 03 00 91 fd 7b c1 a8 ff 0f 5f d6  u........{...._.
0x1df1bb4e4  c0 03 5f d6 90 32 80 d2 01 10 00 d4 03 01 00 54  .._..2.........T

This is solved by adding the following key/value in info.plist:

<key>NSBluetoothAlwaysUsageDescription</key>
<string>Using Core Location for iBeacons</string>