IF you want to run directly on your device register your device as a development
Download a apple provisioning portal - at the Unviersity of Southampton you can just download the iOS team (University)
Add that profile to your phone by dragging it into iTunes, and syncing
Create hello world app in cordova like this:
cordova create hello com.example.hello "HelloWorld"cd hello; cordova platform add ioscordova prepare
This will create an xcodeproj file inside hello/platforms/ios
Open that in Xcode
Selct your iphone from targets.
Build, build will fail
Open HelloWorld.xcodeproj, go to build settings, select "All"
Change Architectures to only include armv7s armv7 (or other iphones armv6s armv6)
exclude: arm64 (which won't be supported on Cordova till 3.5)