ethyreal Mobile Developer

ABGroupAddMember() Bug In iOS 4.2

Jan 02 2011 - By George Webster

There appears to be a bug in the AddressBook framework in the new iOS 4.2 sdk.

After pulling my hair out for longer than I'd like to admit i discovered this.  If you run this same function in the 4.1 sdk the person is added to the group, however the same code, no changes when executed in the 4.2 sdk fails for no apparent reason. 

ABGroupAddMember(group_record_id, person_record_id, &error);

I scoured the release notes thinking maybe something changed, no.  I reread all of the AddressBook for iOS documentation, no.  Then i stumbled on one forum post....but in German.  Now I don't speak German but I believe the thread started has the same problem with this function as me.  Then it appears that laster commenters also experience this same problem.  Hurrah..at least I'm not crazy, it is broken.  Maybe I get to file my first bug report with Apple today, not what I would call an ominous start to the new year.

Update:

I found another developer with the same issue on Apple's developer forums.  Saddly still no solution however.

Update 1.3.2010

Another thread reporting the same problem along with various possible solutions involving saving after adding records however one commenter reports Apple has responded saying this is in fact a but in the 4.2 sdk and that is all.  I hope this is resolved soon.

 

 

Recent Posts

Categories

© 2012 ethyreal.com