有没有办法在Windows机器上修改iPhone SDK ?有针对Windows的iPhone SDK版本的计划吗?

我能想到的另一种方法是在运行Windows的VMWare服务器上运行Mac虚拟机映像,尽管我不太确定这是否合法。


当前回答

使用跨平台工具在Windows上开发iOS应用

跨平台工具非常棒:你只需编写一次应用代码,就可以将其导出到iOS和Android平台。这可能会使你的应用开发时间和成本减半。有几种跨平台工具可以让你在Windows电脑上开发iOS应用,如果你的本地网络中有一台Mac电脑,也可以让你编译应用。

嗯,别这么快……

跨平台工具生态系统非常庞大。一方面,你有完整的集成开发环境(ide),如Xamarin,允许你用c#构建跨平台应用。

PhoneGap、Cordova、Ionic和Appcelerator等工具覆盖了中间地带,它们允许你使用HTML5组件构建原生应用。另一端包括React Native这样的小平台,允许你用JavaScript包装器编写本地应用程序。

对于所有跨平台工具来说,最突出的一点是:它们对初学者并不友好!与开始使用Xamarin相比,使用Mac、学习Swift并构建一个简单的应用程序要容易得多。

大多数跨平台工具都要求你对编程、编译选项以及iOS和Android生态系统有基本的了解。这是一个初学者所不具备的东西!

话虽如此,让我们来看看几个选择:

If you’re familiar with Windows-based development tools and IDEs, and if you already know how to code, it’s worthwhile to check out Xamarin. With Xamarin you code apps in C#, for multiple platforms, using the Mono and MonoTouch frameworks. If you’re familiar with web-based development, check out PhoneGap or Ionic. You’ll feel right at home with HTML 5, CSS and JavaScript. Don’t forget: a native app works different than a website… If you’re familiar with JavaScript, or if you’d rather learn to code JavaScript than Swift, check out React Native. With React Native you can code native apps for iOS and Android using a “wrapper”. Always deliberately choose for cross-platform tools because it’s a smart option, not because you think a native platform language is bad. The fact that one option isn’t right, doesn’t immediately make another option smarter!

如果你不想加入封闭的苹果世界,别忘了许多跨平台工具是由谷歌、Facebook、微软、Adobe和亚马逊等同样邪恶的公司运营的。

一个经常听到的反对跨平台工具的论点是,它们对智能手机硬件的访问和支持有限,而且不如原生工具“时髦”。请记住,任何跨平台工具都要求您在某一时刻编写特定于平台的代码,特别是如果您想编写自定义功能时。

其他回答

当然,你可以在记事本或其他程序中编写Objective-C代码,然后将其移动到Mac上进行编译。

但说真的,这取决于你是在为App Store开发官方应用程序,还是为越狱iPhone开发应用程序。要编写官方应用程序,需要英特尔Mac的苹果iPhone SDK似乎是唯一可行的方法。然而,有一个非官方的工具链可以为越狱的iphone编写应用程序。您可以在Linux和Windows上运行它(使用Cygwin)。

如果你想在Windows环境下开发一个应用程序,那么有一个选项,你可以在你的Windows平台上安装MAC OS,名称是:“Niresh'MAC OS”,你可以在谷歌上搜索该文本

然后你可以下载整个MAC操作系统的源代码,并轻松地在你的Windows PC上安装MAC操作系统,Niresh能够破解整个操作系统。

希望这对你有所帮助。

只要做一个网页应用。 iOS网页应用包括:

Reliable. The amount of time it takes to make an update is far shorter than with XCode. Fast. JavaScript on iOS is, by nature, far faster than native apps. Free. You never have to pay Apple a cent, as Apple doesn't have any control over you. Safer. If a crash occurs with a native app, it can take down even the newest iOS devices for hours or even days, until the user can fix them. If a web app crashes, the user just has to close and reopen it, worst case scenario. Offline. You can easily create a service worker to handle your app. Secure. Because you do not have access to native APIs, a security breach will be significantly less dangerous. Easy to program. A basic iOS web app can be programmed from the Safari URL bar on an iPhone. Literally. I've done it myself.

一个开发工具包,允许开发iPhone应用程序在Objective-C, c++或纯C与Visual Studio:

请在iOS build env中查看

你可以直接在Visual Studio (2008, 2010, Express)中构建iPhone应用。

非常简洁,它甚至在成功编译后为你的应用程序构建IPA文件。代码在越狱设备上运行正常,而在其他设备上,我认为最终的编译和提交到App Store必须在Mac上完成。但它仍然允许你使用知名的IDE进行开发。

现在我们可以使用Xamarin Live Player在Windows机器上开发iPhone应用程序。

使用Xamarin实时播放器开发/部署/调试周期现在可以在没有苹果系统的情况下完成。

但要签署并发布应用程序,苹果系统是必须的。

在这里找到参考资料

我查了资料,没有什么可疑的