使用以前版本的Xcode构建不受支持的iOS版本 [英] Use previous versions of Xcode to build on unsupported versions of iOS

查看:157
本文介绍了使用以前版本的Xcode构建不受支持的iOS版本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直感到沮丧的是,在升级到iOS 6之后,我不得不使用非常有缺陷的XCode 4.5来构建我的设备。

I have been frustrated that I have had to use the very buggy XCode 4.5 to build to my device after having upgraded to iOS 6 .

不幸的是,由于某些原因,这个版本的Xcode不允许我的应用程序推送或弹出视图控制器......当我切换回XCode时,这个问题完全消失了4.3.2。

Unfortunately, this version of Xcode for some reason does not allow my app to push or pop view controllers... an issue that completely goes away when I switch back to XCode 4.3.2.

我希望能够使用XCode 4.3.2构建我的iOS 6设备,但4.3.2正式不支持这一点,因为它不支持任何东西大于5.x。

I wanted to be able to use XCode 4.3.2 to build to my iOS 6 device, but this is officially not supported in 4.3.2 because it does not support anything greater than 5.x.

是否有解决方法或修复方法?

Is there a workaround or fix for this?

推荐答案

以下是该问题的修复:

1)当您安装最新的XCode开发人员版本时,请将以前的版本保留在您的计算机上

1) When you install the latest developer release of XCode, leave the previous version on your computer

2)确保退出以前版本的XCode,然后打开开发者版本并打开管理器窗口

2) Make sure the previous version of XCode is quit and then open the developer release version and open the Organizer window

3)打开旧版XCode并打开管理器窗口

3) Open the old version of XCode and open the Organizer window

4)点击旧版本的XCode,您的设备现在应该在运行方案下显示 - 下方菜单。您现在应该可以在不受支持的设备上构建和运行。

4) Click back on the old version of XCode and your device should now show under the run scheme drop-down menu. You should now be able to build and run on your "unsupported" device.

注意:这对我来说适用于在iOS 6上构建的XCode 4.3.2和XCode 4.5 iPhone 4S。它可能适用于未来版本的XCode或iOS,也可能不适用。

NOTE: This worked for me with XCode 4.3.2 and XCode 4.5 building on iOS 6 for the iPhone 4S. It may or may not work on future versions of XCode or iOS.

这篇关于使用以前版本的Xcode构建不受支持的iOS版本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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