Is there a way to import contacts automatically from my Mac OS X Address Book into the iPhone Simulator Contacts app? Or vCards or anything like that? I'm building an app that displays contacts in various ways and I'd like to have a way to have lots of contacts without typing them all in myself.
+2
A:
Probably not directly, but it you have a real phone populated with contacts you could retrieve the file /mobile/Library/AddressBook/AddressBook.sqlitedb
and copy it to
~/Library/Application Support/iPhone Simulator/User/Library/AddressBook/AddressBook.sqlitedb
on your dev machine.
Andrew Medico
2010-02-14 05:34:37
A:
I attempted this and there seems to be no /mobile directory on my Mac. How do I access this? Thanks
Steve Fogel
2010-09-19 18:40:26
it's on your iphone not on your mac.
sbwoodside
2010-09-23 20:18:21