xcode 在windows上模拟iphone?

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

simulating iphone on windows?

iphonewindowsxcodemacos

提问by Rahul Vyas

Is there any way to test my objective-c code on windows..

有什么方法可以在 Windows 上测试我的 Objective-C 代码。

is there any ide like xcode for windows to develop iphone applications.

有没有像 xcode 这样的 ide for windows 来开发 iphone 应用程序。

回答by Jake

I love apple, and the iPhone, and I program on Mac OS X but I do not get why Windows developers shouldn't be allowed to develop for the iPhone. Okay I get it, Objective-C is an Apple thing, but still.. It's C based, how hard can it be?

我喜欢苹果和 iPhone,我在 Mac OS X 上编程,但我不明白为什么不应该允许 Windows 开发人员为 iPhone 进行开发。好吧,我明白了,Objective-C 是 Apple 的东西,但仍然......它是基于 C 的,它有多难?

回答by BobbyShaftoe

No, there isn't. Indeed, you need the latest version of Xcode (that only runs on the latest Mac OS X) with Objective-C 2.0 even to do iPhone development.

不,没有。事实上,您甚至需要最新版本的 Xcode(只能在最新的 Mac OS X 上运行)和 Objective-C 2.0 才能进行 iPhone 开发。

回答by BobbyShaftoe

If you wanna write something on Obj-C, you can use GCC. Anyway you may only try to create something with third party toolkits, if you wanna native iphone dev. env. use hackintosh or buy mac :)

如果你想在 Obj-C 上写一些东西,你可以使用 GCC。无论如何,如果您想要本机 iphone 开发者,您只能尝试使用第三方工具包创建一些东西。环境 使用 hackintosh 或购买 mac :)

回答by Enyra

If you want to test some basic not iPhone relevant objective-c code, you also could use GNUStep. But in my opinion its not really stable.

如果你想测试一些基本的非 iPhone 相关的 Objective-c 代码,你也可以使用GNUStep。但在我看来它并不是很稳定。