iPhone SDK 2.2.1 and Exchange Sync has broken AddressBook API calls

| | Comments (1) | TrackBacks (0)
The iPhone SDK 2.2.1, which added Exchange Sync with Google, has broken the ABRecordSet function!  I think the use of the Exchange means that the API can't be used to update records, perhaps because of a conflict?  Or because the Preferences Bundles can't be found?

The call "didAdd = ABRecordSetValue(person, kABPersonPhoneProperty, multi, &anError);"

Now generates a didAdd=false and these lovely console messages:
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/2.2.1/Symbols/System/Library/PreferenceBundles/AccountSettings/DataAccessSettings.bundle/DataAccessSettings" (file not found).
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/2.2.1/Symbols/System/Library/PreferenceBundles/AccountSettings/MobileWirelessSyncSettings.bundle/MobileWirelessSyncSettings" (file not found).
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/2.2.1/Symbols/System/Library/PreferenceBundles/AccountSettings/MobileMailSettings.bundle/MobileMailSettings" (file not found).
2009-02-24 22:07:25.058 AppName[171:20b] Could not open the lock file at /tmp/DAAccountsLoading.lock. We'll load the accounts anyway, but bad things may happen

If I turn off Exchange (which deletes all contacts but of course I've backed them up) then API calls still work. 

Poking about in the iPhone SDK docs and devforums hasn't turned up anything.  If you know anything about this, let me know and I'll post updates.

I've created an Apple Bug ID# 6620425

0 TrackBacks

Listed below are links to blogs that reference this entry: iPhone SDK 2.2.1 and Exchange Sync has broken AddressBook API calls.

TrackBack URL for this entry: http://www.pacificspirit.com/cgi-bin/mt/mt-tb.cgi/248

1 Comments

Hello,
I get this too - my iPod Touch is configured for Exchange, and has 2.2.1 installed (2.2.1 SDK too.) Whenever I pop up a PeoplePicker, it says this:
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/2.2.1/Symbols/System/Library/PreferenceBundles/AccountSettings/DataAccessSettings.bundle/DataAccessSettings" (file not found).
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/2.2.1/Symbols/System/Library/PreferenceBundles/AccountSettings/MobileWirelessSyncSettings.bundle/MobileWirelessSyncSettings" (file not found).
warning: Unable to read symbols for "/Developer/Platforms/iPhoneOS.platform/DeviceSupport/2.2.1/Symbols/System/Library/PreferenceBundles/AccountSettings/MobileMailSettings.bundle/MobileMailSettings" (file not found).
2009-03-31 21:30:53.491 shortlinks[1519:20b] Could not open the lock file at /tmp/DAAccountsLoading.lock. We'll load the accounts anyway, but bad things may happen
But still works?
Thanks,

Leave a comment

About this Entry

This page contains a single entry by Dave Orchard published on February 25, 2009 6:26 AM.

Interesting stock chart comparisons of industrials/techs and oil stocks and contango was the previous entry in this blog.

iPhone threading and screen refreshes success is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Categories