FROM : Mark T
DATE : Sat Apr 09 21:08:19 2005
In Xcode, choose Project > Add to Project. Navigate to
System/Library/Frameworks and choose AddressBook.framework. That way,
Xcode knows where the Address Book classes are, so it can link them to
your application.
On Apr 9, 2005, at 4:00 AM, Adam Holt wrote:
> Hi,
>
> I'm trying to do something very simple (theoretically) here.
>
> If I drop an ABPeoplePickerView control onto a window in IB, I can
> test the
> interface successfully inside IB and browse my address book with no
> problems. The project also compiles fine when back inside Xcode, but
> I get
> a runtime error and the app bombs:
>
> 2005-04-08 17:10:14.061 test-app[1885] An uncaught exception was raised
> 2005-04-08 17:10:14.062 test-app[1885] *** class error for
> 'ABPeoplePickerView': class not loaded
> 2005-04-08 17:10:14.066 test-app[1885] *** Uncaught exception:
> <NSArchiverArchiveInconsistency> *** class error for
> 'ABPeoplePickerView':
> class not loaded
>
> Any tutorials I've seen referring to this class would suggest that it
> should
> run straight out of the box but clearly not in my case. Any
> suggestions as
> to where I might be going wrong would be greatly appreciated!
>
> Many thanks,
>
> Adam.
DATE : Sat Apr 09 21:08:19 2005
In Xcode, choose Project > Add to Project. Navigate to
System/Library/Frameworks and choose AddressBook.framework. That way,
Xcode knows where the Address Book classes are, so it can link them to
your application.
On Apr 9, 2005, at 4:00 AM, Adam Holt wrote:
> Hi,
>
> I'm trying to do something very simple (theoretically) here.
>
> If I drop an ABPeoplePickerView control onto a window in IB, I can
> test the
> interface successfully inside IB and browse my address book with no
> problems. The project also compiles fine when back inside Xcode, but
> I get
> a runtime error and the app bombs:
>
> 2005-04-08 17:10:14.061 test-app[1885] An uncaught exception was raised
> 2005-04-08 17:10:14.062 test-app[1885] *** class error for
> 'ABPeoplePickerView': class not loaded
> 2005-04-08 17:10:14.066 test-app[1885] *** Uncaught exception:
> <NSArchiverArchiveInconsistency> *** class error for
> 'ABPeoplePickerView':
> class not loaded
>
> Any tutorials I've seen referring to this class would suggest that it
> should
> run straight out of the box but clearly not in my case. Any
> suggestions as
> to where I might be going wrong would be greatly appreciated!
>
> Many thanks,
>
> Adam.
| Related mails | Author | Date |
|---|---|---|
| Adam Holt | Apr 9, 10:00 | |
| daniel | Apr 9, 19:40 | |
| Mark T | Apr 9, 21:08 | |
| Adam Holt | Apr 10, 15:27 |






Cocoa mail archive

