升级iOS7遇到问题This device isn't eligible for the requested build的解决方法
2013-09-23 16:25
645 查看
今天用iTunes升级iOS7,中间遇到点小问题:This device isn't eligible for the requested build.
后在一个帖子上找到解决方法:
Thankfully the solution is simple and falls into one of two areas:
The iOS version that’s been downloaded isn’t the right one for the device.
There’s an entry in your host file redirecting Apple traffic to another location.
In most cases, it’ll be the second option. As a quick test on the machine where you’re trying to do a restore put the following into a web browser http://gs.apple.com If an Apple 404 page (page not found) is displayed then you should be good to restore and therefore you should re-download the required firmware, reboot both your computer and the iPhone and try again. If an index page is displayed (like displayed below) then
it means you’ve got entries in your host file you need to remove.
The process for removal on Mac and Windows machines is slightly different but we’ve detailed them below:
Mac OS X
1. On your Mac, open your Applications folder.
2. Navigate to the Utilities folder.
3. Open Terminal.
4. Type “sudo nano /etc/hosts” (without quotes) and press enter.
5. Enter your password
6. Use the down arrow key to find the gs.apple.com entries. Once the cursor is in front, make sure you comment out the line(s) by entering # in front of the text.
7. Save the file by pressing CONTROL+O, then enter.
8. Exit the nano editor by pressing CONTROL+X.
9. Restore your iDevice.
非常简单:
打开终端 —— 输入命令:sudo nano /etc/hosts,回车 —— 输入密码 —— 找到gs.apple.com这一行,在前面加上#(直接打开该网址显示的是Cydia),如下图所示:
然后按control + O,之后回车。
保存成功后按control + X退出。
重启设备,用iTunes升级,中间遇到了一些小错误,错误代码为6,但是用下载好的iOS7固件恢复设备后升级iOS7成功。
最后分析一下,应该是我的iPhone越狱了,在版本升级时要打开Apple的一个网址却被重定向到另一个入口,gs.apple.com(Cydia):
还有就是Host Files的作用:
Hosts是一个没有扩展名的系统文件,可以用记事本等工具打开,其作用就是将一些常用的网址域名与其对应的IP地址建立一个关联“数据库”,当用户在浏览器中输入一个需要登录的网址时,系统会首先自动从Hosts文件中寻找对应的IP地址,一旦找到,系统会立即打开对应网页,如果没有找到,则系统再会将网址提交DNS域名解析服务器进行IP地址的解析。
在做了以上修改后,再打开gs.apple.com是打不开的,在前面加个#应该是把该行变成了注释之类的功能,使其无效。因此在版本升级时就不会遇到地址解释出错的问题了。
在重启iPhone以后升级就没问题了。
开始还是无法接受iOS7的平面化风格(现在流行把东西压扁吗?),后来在Xcode5上用多了模拟器,感觉iOS7给人一种小清新的清爽感觉,相比之下iOS6的界面太拥挤了。还是挺喜欢iOS7的,支持iOS7。
后在一个帖子上找到解决方法:
Thankfully the solution is simple and falls into one of two areas:
The iOS version that’s been downloaded isn’t the right one for the device.
There’s an entry in your host file redirecting Apple traffic to another location.
In most cases, it’ll be the second option. As a quick test on the machine where you’re trying to do a restore put the following into a web browser http://gs.apple.com If an Apple 404 page (page not found) is displayed then you should be good to restore and therefore you should re-download the required firmware, reboot both your computer and the iPhone and try again. If an index page is displayed (like displayed below) then
it means you’ve got entries in your host file you need to remove.
The process for removal on Mac and Windows machines is slightly different but we’ve detailed them below:
Mac OS X
1. On your Mac, open your Applications folder.
2. Navigate to the Utilities folder.
3. Open Terminal.
4. Type “sudo nano /etc/hosts” (without quotes) and press enter.
5. Enter your password
6. Use the down arrow key to find the gs.apple.com entries. Once the cursor is in front, make sure you comment out the line(s) by entering # in front of the text.
7. Save the file by pressing CONTROL+O, then enter.
8. Exit the nano editor by pressing CONTROL+X.
9. Restore your iDevice.
非常简单:
打开终端 —— 输入命令:sudo nano /etc/hosts,回车 —— 输入密码 —— 找到gs.apple.com这一行,在前面加上#(直接打开该网址显示的是Cydia),如下图所示:
然后按control + O,之后回车。
保存成功后按control + X退出。
重启设备,用iTunes升级,中间遇到了一些小错误,错误代码为6,但是用下载好的iOS7固件恢复设备后升级iOS7成功。
最后分析一下,应该是我的iPhone越狱了,在版本升级时要打开Apple的一个网址却被重定向到另一个入口,gs.apple.com(Cydia):
还有就是Host Files的作用:
Hosts是一个没有扩展名的系统文件,可以用记事本等工具打开,其作用就是将一些常用的网址域名与其对应的IP地址建立一个关联“数据库”,当用户在浏览器中输入一个需要登录的网址时,系统会首先自动从Hosts文件中寻找对应的IP地址,一旦找到,系统会立即打开对应网页,如果没有找到,则系统再会将网址提交DNS域名解析服务器进行IP地址的解析。
在做了以上修改后,再打开gs.apple.com是打不开的,在前面加个#应该是把该行变成了注释之类的功能,使其无效。因此在版本升级时就不会遇到地址解释出错的问题了。
在重启iPhone以后升级就没问题了。
开始还是无法接受iOS7的平面化风格(现在流行把东西压扁吗?),后来在Xcode5上用多了模拟器,感觉iOS7给人一种小清新的清爽感觉,相比之下iOS6的界面太拥挤了。还是挺喜欢iOS7的,支持iOS7。
相关文章推荐
- iPhone升级 "This device isn't eligible for the requested build"错误解决方法
- this device is not eligible for the requested build
- The requested URL /phpMyAdmin was not found on this server.问题解决方法
- 安装Fedora时遇到unable to find any devices of the type needed for this installation type问题的解决
- xib This file is set to build for a version older than the project deployment target解决方法
- 有关 phpmyadmin登陆中遇到The requested URL /phpmyadmin was not found on this server的解决方法
- phpmyadmin登陆中遇到The requested URL /phpmyadmin was not found on this server的解决方法
- Linux遇到的问题(一)Ubuntu报“xxx is not in the sudoers file.This incident will be reported” 错误解决方法
- 解决升级到最新版cocoaPods出现file was built for archive which is not the architecture being linked (x86_64)的问题
- VM8.0下安装遇到了问题“windows cannot read the<product key> setting from the unattend answer file”解决方法
- 问题解决方法:No instrumentation runner found for the launch, using android.test.Instrumen
- Win7或者Win8 安装 Visual Studio 2013 Tools for Unity 遇到2502或者2503问题的解决方法
- 发邮件遇到 Failure sending mail.The remote name could not be resolved: 'www.youdomain.com' 问题的解决方法
- this class is not key value coding-compliant for the key XXX错误的解决方法
- You cannot run the non-logged version of bulk copy in this database问题的解决方法
- 用PL/SQL连接oracle遇到的问题及解决方法:ORA-12154:TNS:could not resolve the connect identifier specified。。
- 出现this application has requested the runtime的解决方法
- Android开发中使用Eclipse创建工程后提示The project cannot be built until build path errors are resolved问题的解决方法
- QT项目升级(QT4.6.3到QT5.2)时,遇到的问题和解决方法
- 升级CocoaPod遇到ERROR: While executing gem ... (TypeError) no implicit conversion of nil into String问题的解决方法