问题描述
我已将iPhone升级到iOS 6,但我目前使用的是Xcode 4.2(在Snow Leopard上)。现在我收到此错误消息:
是否可以将我的iPhone恢复到旧版本5.1或某些如何使我的Xcode支持/识别iOS6?
我按照以下步骤,通过使Xcode支持iOS 6来解决我的问题:
1.首先从(您需要开发者帐户)。
2.然后安装此图片并使用从上下文菜单中显示包装内容。
3.然后复制以下文件夹
到你的mac以下文件夹(根据其版本,此路径可能因mac而异。在 Snow Leopard
上,您可能会发现在 Finder
中的 Developer
文件夹下 PLACES
部分,可能在 Lion
上,您必须右键单击 Xcode.app
并且必须使用显示包内容
):
4.从以下目录中复制iOS 6 SDK文件夹:
到mac的以下文件夹
5.还要将 version.plist
从目录/ Developer / Platforms / iPhoneOS.platform
文件夹复制到你的mac 开发人员/平台/ iPhoneOS.platform
文件夹。
6.重新启动Xcode并重新连接设备(s )。
宾果!现在Xcode 识别iOS6设备,甚至我能够在iOS6的iPhone上运行和调试我的应用程序(为旧版SDK构建)(虽然我不确定iPhone 6.0模拟器)。
然而,回答如何将iPhone恢复到旧版本,说5.1
仍在等待。
I have upgraded my iPhone to iOS 6, however I am currently on Xcode 4.2 (on Snow Leopard). Now I am getting this error message:
Is it possible to restore my iPhone to older version say 5.1 or some how make my Xcode to support/recognize iOS6?
I followed the following steps, to resolve my issue by making Xcode to support iOS 6:
1.First download Xcode 4.5 .dmg file from Here (You would need developer account).
2.Then mount this image and use "Show Package Contents" from context menu.
3.Then copy the following folder
to your mac's following folder (This path may differ from mac to mac based on its version. On Snow Leopard
you may find the Developer
folder in Finder
under PLACES
section, and probably on Lion
, you have to right click the Xcode.app
and have to use Show Package Contents
):
4.Similarly copy the iOS 6 SDK folder from following directory:
to your mac's following folder
5.Also copy version.plist
from Contents/Developer/Platforms/iPhoneOS.platform
folder to your mac's Developer/Platforms/iPhoneOS.platform
folder.
6.Re-start Xcode and re-connect the device(s).
Bingo !! now Xcode recognizes iOS6 device(s) and even I am able to run and debug my app (built for older SDKs) on my iPhone with iOS6 (I am not sure about iPhone 6.0 simulator though).
However, answer to How to restore iPhone to older version say 5.1
is still pending.
这篇关于iPhone 6与iOS 6和Xcode 4.2问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!