A programmatic interface to xcodebuild developed by Apple
npm install nodexcodebuildThis package provides a programmatic interface to xcodebuild developed by Apple.
npm install nodexcodebuild --save-dev
| option | type | required | default | possible values
| --------------------- | --------- | -------- | ------- | ------------------------------------
| sdk | string | yes | - | see "xcodebuild -showsdks"
| projectRoot | string | yes | - | the path where your project root is
| configuration | string | no | Release | Release, Debug
| podInstall | boolean | no | true | true, false
| codeSignIdentity | string | no | - | The name of your code-sign-identity
| developmentTeam | string | no | - | The id of your development team
| configurationBuildDir | string | no | - | the path where the compiled app should be stored
| workspace | string | yes | - | the name of the workspace to build
| scheme | string | yes | - | the name of the scheme to build
| destination | string | no | - | the destination device
| destinationTimeout | number | no | - | timeout when searching a devices
``javascript
var resolve = require('path').resolve;
var xcb = require('nodexcodebuild');
new xcb.WorkspaceBuild({
sdk: 'iphoneos10.2',
projectRoot: resolve('my/path'),
workspace: 'MyCoolWorkspace.xcworkspace',
scheme: 'MyAppScheme',
codeSignIdentity: 'iPhone Developer',
developmentTeam: 'A1B2C3D4',
configurationBuildDir: resolve('build/ios'),
}).run();
`
`javascript`
var resolve = require('path').resolve;
var xcb = require('nodexcodebuild');
new xcb.ProjectBuild({/ @todo implement this /}).run();
1. Fork it!
2. Create your feature branch: git checkout -b my-new-featuregit commit -am 'Add some feature'
3. Commit your changes: git push origin my-new-feature`
4. Push to the branch:
5. Submit a pull request :D
MIT