XCode 4 和 XCode 3.2.6 并行
我需要在同一台计算机上构建一个 iOS 应用程序和一个 Mac OS 应用程序。 Mac OS 应用程序需要在 10.5 上运行,尽管 Apple 声称您可以使用 10.6 SDK 进行构建并通过设置正确的目标值在 10.5 上运行,但事实并非如此。简单的事情,例如 libssl
的名称/版本,在 10.5 和 10.6 上是不同的,这使得这是不可能的。
无论如何,所以我要尝试在安装了 XCode 4 的同一台机器上安装 XCode 3.2.6 - 有任何提示/陷阱/指南吗?
谢谢!
I need to build one iOS app and one Mac OS app on the same machine. Mac OS app needs to run on 10.5, and even though Apple claims you can build with the 10.6 SDK and run on 10.5 by setting the right target value, it's not true. Simple things, like the name/version of libssl
, are different on 10.5 and 10.6 which makes this impossible.
Anyway, so I'm about to try and install XCode 3.2.6 on the same machine as I have XCode 4 on - any tips/gotchas/guides?
Thanks!
这应该可以正常工作,但最好最后安装 XCode4。因此,如果您安装了 XCode3,您还需要重新安装 XCode4(以使系统工具保持最新版本)。
我还建议 XCode4 进入 /Developer,XCode3 进入具有其他名称的文件夹,因为它有更多的时间来进行安装在不同位置的工作。
That should work fine, however it's best to install XCode4 last. So if you install XCode3 you'll want to re-install XCode4 as well after (to keep the system tools at the latest version).
I'd also recommend XCode4 go into /Developer, and XCode3 goes into a folder with some other name, as it's had more time to be hammered out to work installed in different locations.