This is a Cordova 7.x project that wraps the DIM website in mobile (and eventually desktop) clients. It's still under development.
We have all our dependencies local to the project, so run npx cordova
instead of just cordova
.
See Cordova iOS guide.
- Install XCode 9
- Run
xcode-select --install
- Run
npm install
- Run
open ./platforms/ios/DIM.xcworkspace
npx cordova run ios --list
: list simulators/devicesnpx cordova run ios --target="iPhone-7"
: run in simulator
Or, open the project in XCode, then:
- Run
npx cordova build ios
. You need to do this after each change - just building in XCode isn't enough. - Hit "Run" to run in simulator.