简体   繁体   English

Xcode:如何在OS X Mountain Lion上运行Xcode4.2?

[英]Xcode: How do I make Xcode4.2 run on OS X Mountain Lion?

I recently upgraded from Lion to Mountain Lion and my Xcode4.2 stopped working. 我最近从Lion升级到Mountain Lion,我的Xcode4.2停止了工作。 It complains about it's not for Mountain Lion. 它抱怨它不适用于Mountain Lion。 I also installed Xcode4.4. 我还安装了Xcode4.4。 But I have an important project that works under Xcode4.2 but had issues with Xcode4.4. 但是我有一个在Xcode4.2下工作的重要项目,但是Xcode4.4存在问题。

Is there a way to make Xcode4.2 work under Mountain Lion??? 有没有办法让Xcode4.2在Mountain Lion下工作? I didn't find a version for Mountain Lion on Apple Developer website... 我在Apple Developer网站上找不到Mountain Lion的版本......

Xcode 4.2 isn't supported on Mountain Lion. Mountain Lion不支持Xcode 4.2。 In fact, it's pretty old at this point, and it's not getting any younger. 事实上,在这一点上,它已经很老了,并没有变得更年轻。 You're going to have to update your project to work with newer versions of Xcode at some point anyway -- why not take the time to do it now? 无论如何,你将不得不更新你的项目以使用更新版本的Xcode - 为什么不花时间去做呢? Xcode 4.4 will let you deploy to systems going all the way back to 10.4. Xcode 4.4将允许您部署到系统,一直到10.4。

The reason you can't find Xcode 4.2 for Mountain Lion is that there is no such version. 你找不到Mountain Lion的Xcode 4.2的原因是没有这样的版本。 In the past, people have used tricks to get older versions of Xcode to run on newer OSs—but, much like the tricks people have used to run older SDKs in newer versions of Xcode, etc., Apple has intentionally or accidentally broken every one of them. 在过去,人们使用技巧来使较旧版本的Xcode在较新的操作系统上运行 - 但是,就像人们习惯在较新版本的Xcode中运行较旧的SDK等技巧一样,Apple有意或无意地打破了每一个他们

It really isn't worth fighting them on this. 在这方面真的不值得与他们作战。 If you can get your code working in 4.4, do so. 如果您可以在4.4中使用代码,请执行此操作。 If you can't, keep a Lion machine (or virtual machine) around to build it with. 如果你不能,请保留一台Lion机器(或虚拟机)来构建它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM