I tried to add the Address Book framework to the AS Studio example app called “Drawer” in both places (main window and panel). It also crashed both times.
You can use code to open and close a drawer, or you can simply use a connection from a button in IB to the “toggle:” action of the drawer. As to the original question, you’re confusing some things here. The object in IB is an NSPeoplePickerView, not a framework. To actually use this object in your project, you need to manually add the AddressBook.framework (frameworks include the definitions & code, images, interface, etc. for using an object) to your project. To do this, Control-Click on the “Linked Frameworks” group in Xcode and select “Existing Frameworks…”, then navigate to “System/Library/Frameworks/AddressBook.framework” and add this to your project. Then you can use the people picker (though, you have to get a little creative to use this with AppleScript; hint: use Obj-C). To see all of this, take a look at at my demo project: