How to transfer acquaintances into the iPhone Simulator


For anyone utilizing AddressBook.framework possibilities are you will want to transfer your own information to examine against when you are in the simulation. Without being able to connect with iTunes or iCloud you may think you are caught coming into in covers manually; not only is that a enormous discomfort, but there are probably many advantage conditions already in your deal with publication you examine actually think of.

Fortunately there can be another choice, with a software known as iPhone Copy Enthusiast. Obtain it, run it and press Go through Copies (note that you will need to again up to iTunes, not iCloud). Decide on your system, and you should see a record of applications involved in your backup. Select the last piece on the record, iOS Details files, and create it to your pc. When it’s done take a look in the file it designed. You should discover two files in the file iOS Files/Library/AddressBook, AddressBook.sqlitedb and AddressBookImages.sqlitedb.

Next, open the simulator’s Application Support folder (in the Finder menu, choose Go -> Go to Folder…, enter ~/Library/Application Support/iPhone Simulator, and choose the SDK you’re working with) and drill down to Library/AddressBook. Quit the simulator if it’s open, delete everything in this directory, then copy the two files noted above from your backup. That’s it! If everything went well the next time you launch the simulator you should see all your contacts.

Pretty simple, really. If deal with publication information is a main function of your app, you might even want to have a few reliable try out writers deliver you their backups so you can examine with their acquaintances. My practical knowledge is that there are a lot of uncommon or incorrect acquaintances sailing around on individuals mobiles, and the more possibility you have to examine the better you will do once you generate your app.

0 comments:

Post a Comment

Powered by Blogger.
Twitter Delicious Facebook Digg Stumbleupon Favorites More