你能在Linux上运行Xcode吗?Mac OS X是基于BSD Unix的,所以有可能吗?
据我所知,有一个MonoDevelop插件有一个iPhone模拟器。
你能在Linux上运行Xcode吗?Mac OS X是基于BSD Unix的,所以有可能吗?
据我所知,有一个MonoDevelop插件有一个iPhone模拟器。
当前回答
如果你运行VMware Player或Workstation(或者VirtualBox,我不确定它是否支持Mac OS X,但可能),然后是Mac OS X Server(客户端不能合法虚拟化)。当然,在这种情况下,你是在OS X上运行XCode,但你的主机可能是linux。
其他回答
如果你真的想在linux上使用Xcode,你可以获得Virtual Box并在虚拟机上安装Hackintosh。 编辑:MacOS Movaje不支持虚拟框客户附加功能。您将需要使用VMware
https://www.vmware.com/
https://hackintosh.com/
I really wanted to comment, not answer. But just to be precise, OSX is not based on BSD, it is an evolution of NeXTStep. The NeXTStep OS utilizes the Mach kernel developed by CMU. It was originally designed as a MicroKernel, but due to performance constraints, they eventually decided they needed to include the Unix portion of the API into the kernel itself and so a BSD-compatible "server" (originally intended to process requests for BSD-compatible kernel messages) was moved into the kernel, making it a Monolithic kernel. It may be BSD compatible in the programming API, but it is NOT BSD.
操作系统的其余部分涉及到objecvec(在Stepstone和GNU/GCC的Richard Stallman的安排下)和基于“显示后脚本”技术的GUI…有点像X服务器,但是带有后记命令。OS X将显示Postscript更改为显示PDF,并将一般硬件要求提高了1000倍(NeXT可以运行8-16MB,现在需要GB)。
Due to the close marriage of GCC and Objective C and NeXT, your best bet at running XCode natively under Linux would be to do a port (if you can get ahold of the source - good luck) utilizing the GNUStep libraries. Originally designed for NextStep and then OpenStep compatibility, I've heard they are now more-or-less Cocoa compatible, but I've not played with any of it in almost 2 decades. Of course that only gets you as far as ObjC, not Swift, and I don't know if Apple is going to OpenSource it.
如果你想在其他操作系统上使用XCode,我建议你使用云计算。这样你的应用是在Mac上开发的,可以提交到app Store。
奇怪的是没有人建议KVM。
它将提供近乎原生的性能,它是内置的Linux。 去看看吧。
你会觉得你只使用mac,然后在那里安装Xcode 你甚至可以选择在启动时直接引导到OSX GUI,而不是Linux GUI
我认为你需要MonoTouch插件(不是免费的!)
不,没有办法在Linux上运行Xcode。
不好意思告诉你这些坏消息。:)