iPhone 6与iOS 6和Xcode 4.2问题 [英] iPhone with iOS 6 and Xcode 4.2 issue

查看:119
本文介绍了iPhone 6与iOS 6和Xcode 4.2问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将iPhone升级到iOS 6,但我目前使用的是Xcode 4.2(在Snow Leopard上)。现在我收到此错误消息:


xxx xxx上的iOS版本与$ b $的任何版本都不匹配b iOS iOS安装支持iOS开发。
请将设备恢复为下面列出的iOS版本,或者将
更新到最新版本的iOS。


是否可以将我的iPhone恢复到旧版本5.1或某些如何使我的Xcode支持/识别iOS6?

解决方案

我按照以下步骤,通过使Xcode支持iOS 6来解决我的问题:



1.首先从这里(您需要开发者帐户)。



2.然后安装此图片并使用从上下文菜单中显示包装内容。



3.然后复制以下文件夹


目录/开发人员/平台/ iPhoneOS.platform / DeviceSupport / 6.1
(10A403)


到你的mac以下文件夹(根据其版本,此路径可能因mac而异。在 Snow Leopard 上,您可能会发现在 Finder 中的 Developer 文件夹下 PLACES 部分,可能在 Lion 上,您必须右键单击 Xcode.app 并且必须使用显示包内容):


Developer / Platforms / iPhoneOS.platform / DeviceSupport


4.从以下目录中复制iOS 6 SDK文件夹:


目录/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk


到mac的以下文件夹


Developer / Platforms / iPhoneOS.platform / Developer / SDKs


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:

The version of iOS on "xxx xxx" does not match any of the versions of iOS supported for development with this installation of the iOS SDK. Please restore the device to a version of the iOS listed below, or update to the latest version of the iOS.

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

Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/6.1 (10A403)

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):

Developer/Platforms/iPhoneOS.platform/DeviceSupport

4.Similarly copy the iOS 6 SDK folder from following directory:

Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk

to your mac's following folder

Developer/Platforms/iPhoneOS.platform/Developer/SDKs

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 supports 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问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆