Possible Duplicates:
How can I develop for iPhone using a Windows development machine?
我想为我妻子的手机构建一个 iPhone 应用程序,但我对购买 Mac 作为一次性工作的开发平台不感兴趣。应用程序:
- 应该在 iPhone 上独立运行(即没有网络连接)
- 完全可以接受使用 iPhone Javascript 库之一创建的 GUI
- 会做一些数据库IO来读取和更新数据
- 没有商业值(value),永远不会被任何人使用
这是我的想法:
- 越狱 iPhone
- 在 iPhone 上安装 Ruby + Sinatra
- 使用 Sinatra 编写应用程序,在 iPhone 上访问数据库(SQLite?)
要在 iPhone 上访问应用程序:
这似乎是一种奇怪的方法,但我想不出在不购买 Mac 的情况下编写独立 iPhone 应用程序的更简单方法。有更好的方法吗?
我能找到的唯一可靠信息是始终出色的 MetaFilter
http://ask.metafilter.com/110466/Anyway-to-develop-iPhoneiTouch-apps-without-investing-in-a-Mac
答案显然是否定的。
You absolutely need an Intel Mac of some description.
The entire iPhone build process is too deeply ingrained in XCode to build elsewhere; and the only other Objective-C compiler I know is gcc, which doesn't support any Apple's additions to the language (nor their libraries).
And, in direct opposition to what people are saying above, Objective-C is absolutely my favorite native, compiled language. Elegant, small (only a few changes from C), late-binding, dynamic, straightforward. It's what C++ should have been.
很多人建议购买二手 Intel(记住,必须是 Intel!)Mac Mini 作为最便宜的“入口”。