ios 如何在 Windows 8 上安装 Xcode?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/22691862/
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-08-30 23:50:58  来源:igfitidea点击:

How to install Xcode on Windows 8?

iosobjective-cxcode

提问by katho2404

Hi I've recently become interested in developing applications for iOS. I've taken classes in Objective-C before, and we've always used Xcode to build and run our programs. I am a Windows user at home, and I'm not interested in buying a Macintosh. Is there any way to install Xcode on a Windows 8 PC? Any help is appreciated, thanks. :D

嗨,我最近对为 iOS 开发应用程序感兴趣。我以前上过 Objective-C 的课程,我们一直使用 Xcode 来构建和运行我们的程序。我是家里的 Windows 用户,我对购买 Macintosh 不感兴趣。有没有办法在 Windows 8 PC 上安装 Xcode?任何帮助表示赞赏,谢谢。:D

回答by Exception

You can not install xcode on windows 8 because it requires MAC OS, and Windows and MAC are two different operating system.

你不能在 windows 8 上安装 xcode,因为它需要 MAC OS,而 Windows 和 MAC 是两个不同的操作系统。

To install xcode you have to make VM workstation on your machine and make MAC OS on that or you have to purchase a MAC Machine.

要安装 xcode,您必须在您的机器上制作 VM 工作站并在其上制作 MAC OS,或者您必须购买一台 MAC 机器。

You can also have dual boot on your machine, Keep in mind that dual boot or MAC OS on VM Workstation did not support sound, wifi and some other resources.

您也可以在您的机器上进行双启动,请记住,VM Workstation 上的双启动或 MAC OS 不支持声音、wifi 和其他一些资源。

回答by katho2404

As far as I know you cannot install Xcode on a Windows PC - just like you cannot install Visual Studio and develop for Windows on a Mac. The only way I can think of, is if you install MacOS in a Virtual Machine (e.g. http://www.macbreaker.com/2012/07/mountain-lion-virtualbox.html)

据我所知,您无法在 Windows PC 上安装 Xcode - 就像您无法在 Mac 上安装 Visual Studio 并为 Windows 开发一样。我能想到的唯一方法是,如果您在虚拟机中安装 MacOS(例如http://www.macbreaker.com/2012/07/mountain-lion-virtualbox.html