Sync Your iPhone on Multiple Computers

As you all know that Apple only allows you to sync your iPhone with one iTunes library at a time and when you attempt to sync your iPhone to another computer you get a very annoying warning of being deprived of your apps, music and you name it. This has been bugging me and I have been on a look out for a solution for a while now.
The solution below is easy enough to be implemented given that you have a fair idea of what you are doing and have played around with iTunes before.
When you try and sync your iphone with another iTunes library you see a familiar warning below;

Note: “Computer 1″ represents your usual computer, “Computer 2″ represents the new computer you would like to sync your iPhone to.

On “Computer 2″, backup “iTunes Music Library.xml” and “iTunes Music Library” (Tunes Music Library on Windows) safely.

Download a Hex Editor.

  • On Computer 1, open “iTunes Music Library.xml” with Notepad and search (Ctrl+F) for “Library Persistent ID”
  • Following “<key>Library Persistent ID</key>”, copy the code between <string> and </string>

In this example it is “8B6C633F7DACB74B”

  • On computer 2, find that same code, and replace it with the code from computer 1.
  • Open “iTunes Music Library” (iTunes Library.itl on Windows) using your hex editor on computer 2.
  • In the Hex Editor, go to Edit -> Replace.

  • In “Find”, insert code from computer 2. In “Replace With”, insert code from computer 1. There should be 1 match.
  • Save this file. Close it.
  • Start iTunes on computer 2, and plug in your iPhone.
  • Select “Manually manage music and videos”
  • You will no longer be alerted to erase your data.

Enjoy !!


One thought on “Sync Your iPhone on Multiple Computers

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s