

(note -- you may need to turn on web sharing under preferences to make this work)
Now, download or fork phonegap and open the iphone project in xcode.

Hit Build and Go!

Next steps... the code was copied into the shared folder on your osx install. You can copy all those assets into your phoneagap www folder and change the phonegap settings to make this an offline app.