简体   繁体   English

并排安装xcode 4.4和xcode 4.5?

[英]Install xcode 4.4 and xcode 4.5 side by side?

Is this even possible? 这甚至可能吗? I can't seem to find any resources on the internet about this. 我似乎无法在互联网上找到任何关于此的资源。 I've been seeing threads about having it installed side by side.. but am not sure if that works 我一直看到关于将它并排安装的线程..但我不确定这是否有效

Yes you can. 是的你可以。 XCode 4.5 DP Preview is a stand-alone application that doesn't substitute the actual XCode (4.4). XCode 4.5 DP Preview是一个独立的应用程序,不能替代实际的XCode(4.4)。

I just installed it yesterday and they work good together! 我昨天刚安装它,它们一起工作得很好!

Of course you have to open XCode 4.5 if you want to test the app with iOS 6 Simulator, otherwise, with XCode 4.4 当然,如果要使用iOS 6 Simulator测试应用程序,则必须打开XCode 4.5,否则,使用XCode 4.4

Yes, sure you can. 是的,确定你可以。 I use the Xcode 4.5 DP because Xcode 4.4's ios simulator have problems with twitter 我使用Xcode 4.5 DP,因为Xcode 4.4的ios模拟器有twitter问题

YES, as the documentation implies. 是的,正如文件所暗示的那样。

http://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/WhatsNewXcode/00-Introduction/Introduction.html#//apple_ref/doc/uid/TP40004635-SW1 http://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/WhatsNewXcode/00-Introduction/Introduction.html#//apple_ref/doc/uid/TP40004635-SW1

Xcode 4.5 can coexist on a Mac with previous versions of Xcode. Xcode 4.5可以在Mac上与以前版本的Xcode共存。

under Installation section 安装部分

Xcode has moved to the standalone application model. Xcode已经转移到独立的应用程序模型。 This allows you to run both applications on your system side-by-side with little to no conflicts. 这允许您并排运行系统上的两个应用程序,几乎没有冲突。

That being said, I have noticed some issues running in this setup. 话虽如此,我注意到在此设置中运行的一些问题。 They may or may not be dealbreakers, but something to be aware of. 他们可能是也可能不是交易破坏者,但需要注意的事项。

  • When running 4.5 Beta simulator and you switch back to 4.4 (5.1 Simulator) it will crash or hang your simulator (6.0). 运行4.5 Beta模拟器并切换回4.4(5.1模拟器)时,它将崩溃或挂起您的模拟器(6.0)。 Be sure to close the iOS Simulator when switching back and forth as they they can't run side by side and are separate applications. 请务必在来回切换时关闭iOS模拟器,因为它们不能并排运行,而是单独的应用程序。
  • Be careful you don't use any API's/methods/literals that aren't available in 4.4. 请注意,不要使用4.4中没有的任何API /方法/文字。 I think most things are safe, but something to be aware of if you are testing applications in both environments. 我认为大多数事情都是安全的,但如果您在两种环境中测试应用程序,都应注意一些事项。

For the most part, everything works great when run side-by-side. 在大多数情况下,并排运行时一切都很好。 It isn't advertised much, but that is probably because most beta stuff is under NDA and doesn't get discussed much. 它的广告宣传不多,但这可能是因为大多数测试版的内容都在NDA之下并且没有得到太多讨论。 I don't see the harm in discussing a side by side setup. 我没有看到在讨论并排设置时的危害。 Good luck. 祝好运。

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

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