views:

171

answers:

0

I'm trying to retrieve data from an iPhone address book using objective-c/cocoa touch. However, I am getting this error when building:

".objc_class_name_ABPeoplePickerNavigationController", referenced from: literal-pointer@_OBJC@_cls_refs@ABPeoplePickerNavigationController in InviteController.o ld: symbol(s) not found

I have already added the AddressBook framework to the Frameworks group in the project tree. I have imported the header files as:

#import <AddressBook/AddressBook.h>
#import <AddressBookUI/AddressBookUI.h>

From the targets group, in the project tree, I see AddressBook.framework. In the Frameworks Search Path (right-click project root, get info and the build tab), I added "/System/Library/Frameworks/" (without the quotes).

Experts, what needs to be done here?