I have implemented the code to get contact list form address book. For that I have used this code
ABAddressBookRef addressBook = ABAddressBookCreate( );
CFArrayRef allSources = ABAddressBookCopyArrayOfAllPeople( addressBook );
CFIndex nPeople = ABAddressBookGetPersonCount( addressBook );
and when this code is executing then my app is crashing and in crash report I got that
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000000000defe
Crashed Thread: 5
And I am testing on iPhone 3GS with ios 6.0.
So how I fix this bug?