Possible Duplicates:
How to develop iPhone applications on a windows PC
How can I develop for iPhone using a Windows development machine?
I'm looking to build an iPhone app for my wife's phone, but am not interested in buying a Mac as a development platform for a one-off piece of work. The app:
- should run standalone on the iPhone (i.e. without network connectivity)
- would be perfectly acceptable with a GUI created using one of the iPhone Javascript libraries that are around
- will do some database IO to read and update data
- has no commercial value and will never be used by anyone else
Here's my thinking:
- jailbreak the iPhone
- install Ruby + Sinatra on the iPhone
- write the app using Sinatra, hitting a database (SQLite?) on the iPhone
To access the app on the iPhone:
- start the Sinatra app in the background (is this possible?)
- start a Safari browser session
- navigate to the Sinatra app at e.g. http://localhost:12345
- etc.
This seems like a strange approach, but I can't think of a simpler way of writing a standalone iPhone app without buying a Mac. Is there a better way of doing this?