-
Notifications
You must be signed in to change notification settings - Fork 6
INDX on Cordova
Dr. Daniel Alexander Smith edited this page Mar 13, 2014
·
7 revisions
- install xcode 5.1
- 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 ios
cordova 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)
- Build again. Works! Hit Play to run on the device