Add note to readme about running `cordova prepare` once before any other cordova commands

This commit is contained in:
Martin Kleinschrodt 2017-07-28 20:17:22 +02:00
parent f995aff49f
commit 0ae87a9a28
1 changed files with 4 additions and 1 deletions

View File

@ -99,10 +99,13 @@ This will generate a set of distrution-ready files under the `dist` directory.
Apache Cordova is used to distribute Padlock on iOS and Android. The `cordova` subdirectory contains a
Cordova project with all appropriate configuration files and resources. The Cordova cli can be used to
build and run the app on iOS and Android devices or emulators. All Cordova commands need to be run from
the `cordova` subdirectory. E.g.:
the `cordova` subdirectory. Before running any commands like `cordova build`, make sure to run
`cordova prepare` once (after the first time you can omit it). For example, to run the app on an iOS device
or emulator:
```sh
cd cordova
cordova prepare
cordova run ios
```