Re: Sandboxing and ABAddressBook
Re: Sandboxing and ABAddressBook
- Subject: Re: Sandboxing and ABAddressBook
- From: Sean McBride <email@hidden>
- Date: Tue, 21 May 2013 13:34:06 -0400
- Organization: Rogue Research Inc.
I notice the 'indexPlugins' method in your backtrace. Do you have anything in Library/Address Book Plug-Ins ?
Sean
On Mon, 20 May 2013 18:45:39 +1000, Gideon King said:
>I have address book data access enabled, but when I do a [ABAddressBook
>sharedAddressBook] in applicationDidFinishLaunching, it generates a
>series of sandbox deny file-read-data messages.
>
>Interestingly, if I then ask it for "me" it returns correct data, so
>whatever the messages are, it doesn't seem to be stopping it loading at
>least some of the addresses.
>
>I'd like to get rid of the error if possible - any ideas where to look?
>
>
>0 libsystem_kernel.dylib 0x00007fff93ea5fee __open + 10
>1 CarbonCore 0x00007fff90489f74 PBOpenIteratorSync + 378
>2 CarbonCore 0x00007fff90489de2 FSOpenIterator + 28
>3 Foundation 0x00007fff989cbab3
>_NSDirectoryContentsFromCarbonError + 130
>4 Foundation 0x00007fff989c9962 -[NSFileManager
>directoryContentsAtPath:matchingExtension:options:keepExtension:error:] + 315
>5 Foundation 0x00007fff989c9814 -[NSFileManager
>contentsOfDirectoryAtPath:error:] + 36
>6 AddressBook 0x00007fff96be6716 -
>[ABDataSourcePluginIndex sourceBundlePaths] + 940
>7 AddressBook 0x00007fff96be6118 -
>[ABDataSourcePluginIndex indexPlugins] + 94
>8 AddressBook 0x00007fff96be6050 -
>[ABDataSourcePluginIndex bundleForClassName:] + 37
>9 AddressBook 0x00007fff96be5fce -
>[ABDataSourcePluginIndex loadBundleForClassName:error:] + 31
>10 AddressBook 0x00007fff96be5e47 +[ABAccountFactory
>sourceClassForClassName:] + 64
>11 AddressBook 0x00007fff96be5cda -[ABAccountFactory
>localAccount] + 39
>12 AddressBook 0x00007fff96be5c30 -[ABAccountFactory
>uncachedAccounts] + 53
>13 AddressBook 0x00007fff96be5a37 -
>[ABAccountRepository runWithLockLoadingExistingAccountsIfNecessary:] + 259
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden