当我从模拟器中的地址簿中选择联系人时,我的应用程序出现了崩溃。当我使用QuickContacts sample时,我遇到了类似的崩溃。这些是在模拟器中启动QuickContacts应用程序后的步骤:
应用程序崩溃,下面是堆栈跟踪。有没有其他人遇到过类似的问题?有解决方法吗?任何帮助将非常感激。
这是我的Xamarin设置:
Apple Developer Tools
Xamarin.iOS
堆栈追踪:
2015-06-04 13:30:50.664 QuickContacts[1322:44259] critical: Stacktrace:
2015-06-04 13:30:50.664 QuickContacts[1322:44259] critical: at <unknown> <0xffffffff>
2015-06-04 13:30:50.664 QuickContacts[1322:44259] critical: at (wrapper managed-to-native) AddressBook.ABRecord.ABRecordCopyValue (intptr,int) <IL 0x0002e, 0xffffffff>
2015-06-04 13:30:50.686 QuickContacts[1322:44259] critical: at AddressBook.ABRecord.CopyValue (int) [0x00000] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/AddressBook/ABRecord.cs:190
2015-06-04 13:30:50.687 QuickContacts[1322:44259] critical: at AddressBook.ABRecord.PropertyToString (int) [0x00000] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/AddressBook/ABRecord.cs:214
2015-06-04 13:30:50.687 QuickContacts[1322:44259] critical: at AddressBook.ABPerson.get_FirstName () [0x00000] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/AddressBook/ABPerson.cs:709
2015-06-04 13:30:50.687 QuickContacts[1322:44259] critical: at QuickContacts.QuickContactsViewController.HandlePerformAction2 (object,AddressBookUI.ABPeoplePickerPerformAction2EventArgs) [0x00007] in /Users/MChipeta/Downloads/QuickContacts/QuickContacts/QuickContactsViewController.cs:220
2015-06-04 13:30:50.688 QuickContacts[1322:44259] critical: at AddressBookUI.ABPeoplePickerNavigationController.OnPerformAction2 (AddressBookUI.ABPeoplePickerPerformAction2EventArgs) [0x00012] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/AddressBookUI/ABPeoplePickerNavigationController.cs:232
2015-06-04 13:30:50.688 QuickContacts[1322:44259] critical: at AddressBookUI.InternalABPeoplePickerNavigationControllerDelegate.DidSelectPerson (AddressBookUI.ABPeoplePickerNavigationController,AddressBook.ABPerson,int,int) [0x0002e] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/AddressBookUI/ABPeoplePickerNavigationController.cs:128
2015-06-04 13:30:50.688 QuickContacts[1322:44259] critical: at (wrapper runtime-invoke) <Module>.runtime_invoke_void__this___object_object_int_int (object,intptr,intptr,intptr) <IL 0x00082, 0xffffffff>
2015-06-04 13:30:50.688 QuickContacts[1322:44259] critical: at <unknown> <0xffffffff>
2015-06-04 13:30:50.689 QuickContacts[1322:44259] critical: at (wrapper managed-to-native) UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr) <IL 0x000ae, 0xffffffff>
2015-06-04 13:30:50.690 QuickContacts[1322:44259] critical: at UIKit.UIApplication.Main (string[],intptr,intptr) [0x00005] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/UIKit/UIApplication.cs:63
2015-06-04 13:30:50.690 QuickContacts[1322:44259] critical: at UIKit.UIApplication.Main (string[],string,string) [0x00038] in /Users/builder/data/lanes/1503/e6ebd18b/source/maccore/src/UIKit/UIApplication.cs:47
2015-06-04 13:30:50.690 QuickContacts[1322:44259] critical: at QuickContacts.Application.Main (string[]) [0x00008] in /Users/MChipeta/Downloads/QuickContacts/QuickContacts/Main.cs:17
2015-06-04 13:30:50.690 QuickContacts[1322:44259] critical: at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) <IL 0x00060, 0xffffffff>
2015-06-04 13:30:50.691 QuickContacts[1322:44259] critical:
Native stacktrace:
2015-06-04 13:30:50.691 QuickContacts[1322:44259] critical:
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.