且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用以前版本的Xcode构建不受支持的iOS版本

更新时间:2023-10-17 11:37:16

以下是该问题的修复:

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.