當我嘗試運行iPhone Simulator時,出現此錯誤消息。我使用的Xcode 4ld:warning:忽略文件[path],缺少文件中所需的體系結構i386
ld: warning: ignoring file /Users/Marius/Documents/AppSchool/Telefonbok/AddressBook.framework/AddressBook, missing required architecture i386 in file
ld: warning: ignoring file /Users/Marius/Documents/AppSchool/Telefonbok/AddressBookUI.framework/AddressBookUI, missing required architecture i386 in file
Undefined symbols for architecture i386:
"_ABRecordCopyValue", referenced from:
-[SecondViewController peoplePickerNavigationController:shouldContinueAfterSelectingPerson:] in SecondViewController.o
"_ABMultiValueCopyValueAtIndex", referenced from:
-[SecondViewController peoplePickerNavigationController:shouldContinueAfterSelectingPerson:] in SecondViewController.o
"_OBJC_CLASS_$_ABPeoplePickerNavigationController", referenced from:
objc-class-ref in SecondViewController.o
"_kABPersonFirstNameProperty", referenced from:
-[SecondViewController peoplePickerNavigationController:shouldContinueAfterSelectingPerson:] in SecondViewController.o
"_kABPersonLastNameProperty", referenced from:
-[SecondViewController peoplePickerNavigationController:shouldContinueAfterSelectingPerson:] in SecondViewController.o
"_kABPersonPhoneProperty", referenced from:
-[SecondViewController peoplePickerNavigationController:shouldContinueAfterSelectingPerson:] in SecondViewController.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status