Build 如何解决iPhone 4.3.4和IOS SDK版本不匹配的问题

Build 如何解决iPhone 4.3.4和IOS SDK版本不匹配的问题,build,xcode3.2,ios4,Build,Xcode3.2,Ios4,我将我的iPhone升级到4.3.4(8K2),我无法再构建我的应用程序 在organizer中,我得到以下错误: The version of iOS on “Jeff Bonta’s iPhone” 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 o

我将我的iPhone升级到4.3.4(8K2),我无法再构建我的应用程序

在organizer中,我得到以下错误:

The version of iOS on “Jeff Bonta’s iPhone” 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 OS listed below, or update to the latest version of the iOS SDK; which is available here.

OS Installed on Jeff Bonta’s iPhone
4.3.4 (8K2)

Xcode Supported iOS Versions
4.3.4 (8K2)
4.3.3 (8J2)
4.3.2 (8H7)
4.3.1 (8G4)
因此,它承认我的iPhone上安装了4.3.4,它说Xcode支持4.3.4,但它也说iPhone上的版本与此SDK开发支持的任何版本都不匹配。非常混乱

重新启动iPhone之前,调试器控制台中出现错误:

iphone unable to load symbol file: 
其他用户在版本4.2.1中遇到此问题,并通过以下方式解决此问题:

Deleting the folder /Developer/Platforms/iPhoneOS.platform/DeviceSupport/4.2.1/ and restarting Xcode.
我无法使其工作,因为我无法删除文件夹…/4.3.4(8K2)。我知道如何删除这个文件夹,但直到我重新启动iPhone后才知道


有什么建议吗?我完全卡住了。

我也遇到过类似的问题,这是我的工作流程

  • 闭合XCode
  • 断开iPhone连接
  • 删除4.2-至最新版本文件夹(如适用) 如另一篇文章所示-如果您无法通过GUI执行此操作,请通过终端进入,然后sudo将其删除。)
  • 现在我又去安装Xcode了,但我现在用的是Lion,当我去安装时它说“更新Xcode”
  • 安装新的更新并打开Xcode
  • 插入iPhone并打开Organizer(如果它没有自动执行此操作)
  • 等一下 在识别iPhone之前,它应该要求您将 文件跨越
  • 单击Xcode中的项目文件,然后设置 手动将版本更改为4.3.4(或4.3.5,如果您已更新),因为它会变灰,并且在您识别之前不会识别设备
  • 清理项目,然后构建

让我知道你的进展情况:)

我已经安装了Xcode 3.2和Xcode 4。3.2在iOS5 iPad上给了我同样的错误。我删除了带有“sudo rm-rf/Developer/blah/balh/”的文件夹,然后在连接iPad的情况下打开Xcode 4,Xcode 4发挥了一些神奇的作用,状态栏上出现了一条消息“Clean Manager Success”。关闭4,打开3.2,瞧!我的设备又准备好了。
希望这有帮助。

有人看到过吗?有没有办法恢复到旧版本的ios?你会怎么做才能继续前进?我昨天刚刚在你回应的时候完成了这项工作。本质上,我也做了同样的事情。就我而言,我只是升级了xcode。在这个过程中,它说“更新xcode”。然后我插上我的iPhone,它会自动完成所有其他的事情。很多新东西都被加载了,最终我重新开始运行。谢谢,我仍然使用3.2,因为我更喜欢Interface Builder 3,并且可以轻松地为arm6编译。