npm-packages/cordova-plugin-meteor-webapp/DEVELOPMENT.md
cordova-plugin-meteor-webapp Developmentcordova-plugin-meteor-webapp repo:cd ~
git clone https://github.com/meteor/cordova-plugin-meteor-webapp.git
GCDWebServer submodule is pulled in:cd cordova-plugin-meteor-webapp
git submodule update --init --recursive
npm install
npm install -g xxx
Filipe: I'm not sure why it's only working when installed globally
npm test
cd ~
cordova create test-app
cordova-plugin-meteor-webapp, cordova-plugin-meteor-webapp-tests, and cordova-plugin-test-framework plugins:cd test-app
cordova plugin add https://github.com/apache/cordova-plugin-test-framework.git
cordova plugin add ../cordova-plugin-meteor-webapp/
cordova plugin add ../cordova-plugin-meteor-webapp/tests
ios platform:cordova platform add ios
build.json file to the root of your test-app, that includes your Apple Developer Team ID:{
"ios": {
"debug": {
"developmentTeam": "ABC123DEF456"
},
"release": {
"developmentTeam": "ABC123DEF456",
"codeSignIdentity": "iPhone Developer",
"packageType": "ad-hoc"
}
}
}
test-app's config.xml to point to the test runner:Change
<content src="index.html" />
to
<content src="cdvtests/index.html" />
cordova emulate ios