Xcode 3.2.6 和 Mountain Lion

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11778243/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 01:07:07  来源:igfitidea点击:

Xcode 3.2.6 and Mountain Lion

xcodeinterface-builderosx-mountain-lion

提问by Lars -

I use Xcode 3.2.6 sometimes instead of Xcode 4 because I find some advantages doing that. I had an old installation of Xcode 3.2.6 on Snow Leopard and updated to Lion and Xcode works as before. No problems at all. Now I intend to update to Mountain Lion. Now I have read about people having problems with Xcode 3.2.6 on Mountain Lion, especially Interface Builder. Does anybody here have experiences? May I continue running Xcode 3.2.6 on Mountain Lion?

我有时使用 Xcode 3.2.6 而不是 Xcode 4,因为我发现这样做有一些优势。我在 Snow Leopard 上安装了旧的 Xcode 3.2.6 并更新到 Lion 并且 Xcode 像以前一样工作。完全没有问题。现在我打算更新到 Mountain Lion。现在我读到有人在 Mountain Lion 上遇到 Xcode 3.2.6 的问题,尤其是 Interface Builder。这里有人有经验吗?我可以继续在 Mountain Lion 上运行 Xcode 3.2.6 吗?

回答by Dave

Lars: Haven't done extensive testing yet but after upgrading to 10.8 Xcode 3.2.6 itself runs and seems to build just fine, including a PowerPC target. Interface Builder just bounces in the Dock when I try to launch it. This thread on the dev forums Can XCode 3.2.6 & Interface Builder be made to run...implies it could be issues with Xcode 3's iOS platform plugins.

Lars:还没有进行广泛的测试,但在升级到 10.8 之后,Xcode 3.2.6 本身运行并且似乎构建得很好,包括一个 PowerPC 目标。当我尝试启动它时,Interface Builder 只是在 Dock 中弹跳。开发论坛上的这个帖子Can XCode 3.2.6 & Interface Builder be made to run...暗示它可能是 Xcode 3 的 iOS 平台插件的问题。

Macmade: If you must support OS X 10.5 and below and PowerPC, which I have to, then Xcode 4 alone isn't an option. Keeping a copy of Xcode 3 around has been an ideal solution for those projects, especially as it will generally happily live in it's own folder hierarchy.

Macmade:如果你必须支持 OS X 10.5 及更低版本和 PowerPC,我必须支持,那么单独的 Xcode 4 不是一个选择。保留 Xcode 3 的副本一直是这些项目的理想解决方案,特别是因为它通常会很高兴地生活在自己的文件夹层次结构中。

Believe me I'd love to avoid the hassles of supporting old OS versions but in the end what the client wants is what matters.

相信我,我很想避免支持旧操作系统版本的麻烦,但最终客户想要什么才是最重要的。

回答by apple4ever

Xcode 3.2.6 seems to run just fine on Mountain Lion, though I haven't played with it extensively yet. And once I deleted the two iOS related .platforms folders in /Developer/Platforms (leaving only MacOSX.platform) Interface Builder works for me (and without the issues in the devforum thread).

Xcode 3.2.6 似乎在 Mountain Lion 上运行得很好,尽管我还没有广泛使用它。一旦我删除了 /Developer/Platforms 中的两个与 iOS 相关的 .platforms 文件夹(只留下 MacOSX.platform)Interface Builder 对我有用(并且没有 devforum 线程中的问题)。

I say its worth it to try and find out. I too need to support users that are using 10.6 support (I've only just dropped 10.4 support, and the next release will be dropping 10.5 support). I would have been up on Xcode 4 if they didn't drop 10.5 support when it first came out, and I would be on Xcode 4.3 if it worked until ML or Xcode 4.4 if it supported 10.6. But Apple made different decisions.

我说尝试并找出答案是值得的。我也需要支持使用 10.6 支持的用户(我刚刚放弃了 10.4 支持,下一个版本将放弃 10.5 支持)。如果 Xcode 4 首次出现时他们没有放弃 10.5 支持,我会一直使用 Xcode 4,如果它可以工作到 ML 或 Xcode 4.4(如果它支持 10.6),我会使用 Xcode 4.3。但苹果做出了不同的决定。

I hope this helps.

我希望这有帮助。

回答by Barijaona

Xcode 3.2.6 seems to work, but I noticed some issues, like inability for apps compiled with it to access Keychains.

Xcode 3.2.6 似乎可以工作,但我注意到了一些问题,例如用它编译的应用程序无法访问钥匙串。

The most safe solution is to run Snow Leopard under Virtual Box. It's a bit slow to install, but it's manageable.

最安全的解决方案是在 Virtual Box 下运行 Snow Leopard。安装有点慢,但它是可以管理的。

回答by hamstergene

I've been using Xcode 3 on Mountain Lion for two months now without problems. Even the custom IBPlugin that the old project uses still loads and works.

我已经在 Mountain Lion 上使用 Xcode 3 两个月了,没有出现任何问题。即使是旧项目使用的自定义 IBPlugin 仍然可以加载和工作。

The most essential thing to do is NOT to install iOS SDK, as its plugins break Interface Builder.

最重要的事情是不要安装 iOS SDK,因为它的插件会破坏 Interface Builder。

I've summarized all known issues into installation instructions:

我已将所有已知问题汇总到安装说明中:

回答by Macmade

Metrowerks CodeWarrior was a nice IDE, back in the classic OS days...

Metrowerks CodeWarrior 是一个不错的 IDE,回到经典的操作系统时代......

Seriously, you should move to Xcode 4.

说真的,你应该转向 Xcode 4。

Of course, you are used to Xcode 3.x, and moving to a recent version may take you some time, may change some of your habits. But it's just the way it works.

当然,您已经习惯了 Xcode 3.x,迁移到最新版本可能需要一些时间,可能会改变您的一些习惯。但这只是它的工作方式。

Maybe you can use Xcode 3 on Mountain Lion. But just why?

也许您可以在 Mountain Lion 上使用 Xcode 3。但只是为什么?

Compiler versions are just old, you won't have access to the latest frameworks, SDKs, language features... Should I say more?

编译器版本太旧了,您将无法访问最新的框架、SDK、语言功能……我应该多说一点吗?

I don't think that developing an app on a modern system with a legacy IDE/compiler suite, just because you prefer it, is a nice way of developing stuff...

我不认为在带有遗留 IDE/编译器套件的现代系统上开发应用程序,仅仅因为你喜欢它,是开发东西的好方法......

So just invest some time learning Xcode 4... It will definitively save you a lot of time developing/debugging...

因此,只需花一些时间学习 Xcode 4...它肯定会为您节省大量开发/调试时间...