In this post, we shall teach you how to fix error 1013 in iTunes which is mostly encountered when updating iOS firmware on iPhone 4, iPad 2 and seldom while updating firmware on iPad, iPod touch and older iPhone models. If you're a regular reader here at iPhoneism, you'll know that in this particular segment we post fixes for the common errors most people encounter and don't know how to fix. The procedure to fix iTunes error 1013 has been documented in detail after the break.
Why Do I Face Error 1013 In iTunes?
Obviously, you've ended up asking yourself this question quite a number of times without ever getting a reasonable answer. One of the primary reasons due to which you need to fix error 1013 is ever having used third party jailbreak tools on your computer like TinyUmbrella, iREB etc. Basically what these tools do is that they edit the hosts file of your Windows or Mac computer so that when you upgrade firmware on iPhone, iTunes connects to Cydia's server and not Apple's servers. Since Cydia is ramping down its server and does not have appropriate signing keys for the firmware you're installing, you get iTunes error 1013.
How Do I Fix Error 1013?
You can actually fix error 1013 using TinyUmbrella, yes the same tool that has landed you in this mess. Simply follow the steps listed down below to get rid of this error.
Step 1: Download TinyUmbrella for Mac or Windows
Step 2: Windows 7 and Windows Vista users need to do the following procedure before launching TinyUmbrella after it has finished downloading.
- Right click TinyUmbrella.exe and open Properties
- Click on the Compatibility tab
- Select "Run this program in compatibility mode for" and choose Windows XP Service Pack 3 from the drop down menu.
- Select "Run this program as an administrator" in the Privilege Level
- Click Apply followed by OK
Step 3: Launch TinyUmbrella. Open Advanced tab. Deselect "Set Hosts to Cydia on Exit" option.
Step 4: Apply the changes and exit TinyUmbrella. Now restart your Mac or Windows computer.
In most cases, this is all that you need to do in order to fix error 1013. However if you prefer using the manual method for your peace of mind or if this doesn't even fix iTunes error 1013, you might as well try out the bit lengthy manual method that is given down below.
Manual Method:
When you use jailbreaking tools such as those mentioned above, they edit the Hosts file of your computer. So to fix error 1013, you need to manually edit this Hosts file and remove codes that point iTunes to Cydia's servers and not those of Apple. This procedure can be done on both Windows and Mac computers, Windows users make sure that you have Administrator Privileges.
Editing Hosts File To Fix iTunes Error 1013 On Mac:
Step 1: Open Finder on your Mac
Step 2: Press and Hold COMMAND + SHIFT keys then press G
Step 3: Type /private/etc/ and click on Go
Step 4: When the directory comes up, look for the hosts file
Step 5: Once located, drag it to the desktop and open it in Text Editor
Step 6: Remove any lines that have a bunch of numbers followed by gs.apple.com and save the changes
Step 7: Drag hosts file back to /private/etc/ folder and when prompted, enter username and password for authentication
Editing Hosts File To Fix Error 1013 On Windows:
Step 1: Locate hosts file by opening this path: c:\windows\system32\drivers\etc\hosts
Step 2: Drag the file to your desktop. Right click and open with Notepad. Administrator Privileges required.
Step 3: Any lines that have numbers followed by gs.apple.com have to be removed. Save changes after doing that.
Step 4: Drag file back to its original location. Select Yes to rewrite when prompted.
Note: Windows users bear in mind that when you save changes to hosts file, it should not have an extension. If you save it as "hosts.txt" this will not work.
Once you've done these procedures on your respective computers, simply restart then for these changes to take effect. After your computer restarts, to check if this has been successful simply open your internet browser and type in gs.apple.com and it should redirect you to www.apple.com/404 and not Cydia. If that is what happens, congratulations as you have done everything right needed to fix error 1013.
This is all you need to know, nevertheless if you do face any problems when trying to fix iTunes error 1013 simply leave a comment down below and our experts will be there to help you out.