Build the cordova project for the iOS platform.
$ npm install --save-dev gulp-cordova-build-ios
const gulp = require('gulp');
const create = require('gulp-cordova-create');
const plugin = require('gulp-cordova-plugin');
const ios = require('gulp-cordova-build-ios');
gulp.task('build', () => {
return gulp.src('www')
.pipe(create())
.pipe(plugin('org.apache.cordova.dialogs'))
.pipe(plugin('org.apache.cordova.camera'))
.pipe(ios());
});
This plugin will build the cordova project for the iOS platform.
Type: boolean
Default: false
If the value is true
, this will cause the ios platform to be removed and re-added.
Type: string
iOS platform version.
See gulp-cordova
for the full list of available packages.
MIT © Sam Verschueren