当我从模拟器的通讯录中选择联系人时,我的应用程序一直在崩溃。当我使用QuickContacts 示例时,我遇到了类似的崩溃。这些是在模拟器中启动 QuickContacts 应用程序后的步骤:
- 选择显示选择器
- 选择约翰苹果种子
- 选择第一个手机号码
该应用程序崩溃并显示下面的堆栈跟踪。有没有其他人遇到过类似的问题?有解决方法吗?任何帮助将非常感激。
这是我的 Xamarin 设置:
- Xamarin Studio 版本 5.9.3(内部版本 1)
- 运行:
- 单声道 4.0.1 ((分离/ed1d3ec)
- GTK+ 2.24.23(罗利主题)
苹果开发者工具
- Xcode 6.3.2 (7718)
- 建造 6D2105
Xamarin.iOS
- 版本:8.10.1.64(独立版)
- 哈希:e6ebd18
- 分支:主
- 构建日期:2015-05-21 21:55:09-0400
堆栈跟踪:
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.