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

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


当前回答

坏消息是它的iOS模拟器和应用程序加载器都需要XCode来上传程序到iOS设备进行“真正的”测试。在向App Store提交应用之前,你需要用XCode为你的应用签名。不幸的是,XCode只适用于OS X。

However, the good news is that you may be able to purchase OS X and run it in a virtual machine such as VMWare Workstation. I don't know how straightforward this is, as it is rather difficult to get OS X to run on non-Apple hardware, but a quick Google search shows that it is possible. This method would (likely) be cheaper than purchasing a new Mac, although the Mac Mini retails in the US for only $599. Some posts I've seen indicate that this may or may not be legal, others say you need OS X Server for virtualization. I'll leave the research up to you.

还有MacInCloud这样的服务可以让你租用一台Mac服务器,你可以通过Windows上的远程桌面或浏览器访问它。不幸的是,我不认为你能够使用Application Loader,因为你必须物理地将设备连接到你的计算机,但它至少可以用于开发和模拟。

好运!

其他回答

正如已经指出的,你可以尝试使用WinChain,但如果你是一个新手,这将是不容易的。

iPhone SDK将在hackintosh(安装了OS X的普通PC)上运行。我知道,因为我有一个,它确实。

所以在你购买OSX许可证后,你可以尝试使用Boot-132或其他安装程序(如iDeneb)在你的PC上的不同驱动器上安装它。问题是,你将不得不做很多修补和事情仍然不会工作得很好。

如果你想创建iPhone应用程序,但没有Mac,那么你应该尝试http://www.pmbaty.com/iosbuildenv/

它允许你轻松地开发原生iOS应用程序,如XCode,可部署在任何iPhone, iPod或iPad(越狱与否)。

使用你最喜欢的IDE在Objective-C, c++, C或ARM汇编中编码,就像在XCode中。支持ARC和block。

直接在Visual Studio中编译iPhone应用程序

它适用于Windows所有版本(XP, 7,8), FreeBSD和Linux

现在有了iOS8支持。

请看Xamarin。他们有Visual Studio的扩展(http://xamarin.com/visual-studio)。

摘自网站:

Xamarin提供了Visual Studio插件,这样你就可以在一个解决方案中开发你的iOS、Android和Windows应用程序。Xamarin扩展支持在模拟器或设备上构建、部署和调试。

我用颤振。我在Windows机器上开发,在Android模拟器上测试。当我准备好在iOS上测试时,我在macOS上运行代码。根据我的经验,Flutter应用程序在Android和iOS上运行完全相同。如果你没有Mac,你可以下载VirtualBox并在上面安装macOS。在VirtualBox上,macOS的运行和真正的Mac完全一样,你可以在上面构建应用程序。

你可以使用英特尔XDK,在没有mac的情况下为iOS开发和发布应用程序。

详情请点击这里。