有没有办法在Windows机器上修改iPhone SDK ?有针对Windows的iPhone SDK版本的计划吗?
我能想到的另一种方法是在运行Windows的VMWare服务器上运行Mac虚拟机映像,尽管我不太确定这是否合法。
有没有办法在Windows机器上修改iPhone SDK ?有针对Windows的iPhone SDK版本的计划吗?
我能想到的另一种方法是在运行Windows的VMWare服务器上运行Mac虚拟机映像,尽管我不太确定这是否合法。
当前回答
一个开发工具包,允许开发iPhone应用程序在Objective-C, c++或纯C与Visual Studio:
请在iOS build env中查看
你可以直接在Visual Studio (2008, 2010, Express)中构建iPhone应用。
非常简洁,它甚至在成功编译后为你的应用程序构建IPA文件。代码在越狱设备上运行正常,而在其他设备上,我认为最终的编译和提交到App Store必须在Mac上完成。但它仍然允许你使用知名的IDE进行开发。
其他回答
你可以使用WinChain
引用项目页面:
这是在Windows XP/Vista计算机上构建iPhone工具链的最简单方法,反过来,它可以获取你使用UIKit头文件(包含在winChain中)编写的Objective-C源代码,并将其编译成你可以在iPhone上使用的应用程序。
SDK只在OS X上可用,迫使你使用mac电脑。如果你不想购买mac电脑,你可以在你的windows盒子上的虚拟机上运行OS X,或者你可以在你的PC上安装OS X。
根据我的经验,虚拟机解决方案非常慢(在具有2G内存的core2 duo笔记本电脑上)。如果你想试试,可以搜索torrent。这可能不值得。
另一种选择是在你的电脑上安装OS X,通常被称为hackintosh。hackintosh工作得很好——我的朋友刚刚卖掉了他的mac,因为他的戴尔四核hackintosh实际上比苹果硬件快得多(价格大约是苹果硬件的1/3)。
当然,这两种选择都可能与某些许可计划相抵触,所以请自行承担风险。
你可以使用Java为iPhone开发应用,而Java可以连接到网络。
如果您有一个越狱的iPhone,您可以通过Cydia将iPhone -gcc工具链安装到iPhone上,这样您就可以在iPhone上编译应用程序。通过这种方式开发的应用程序仍然可以提交到App Store。
尽管瓦尔迪兹先生说这是一个灰色地带(事实确实如此),但越狱非常容易,而且几乎没有风险。是的,它使你的保修失效,但你可以做一个恢复,他们永远不会知道。
只要做一个网页应用。 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.