There are two possible ways to build your apps: the Cordova CLI or XCode.
Note that if no -env.target parameter is provided, the hybrid app endpoint will default to the production environment.
For convenience you can shorten these to their first letters. Possible targets are development, test, acceptance, production (default), and sandbox. Such code could, for example, look like this: $ npm run package -env.target=test # target the test endpoint for ARM architecture To target a specific DTAP endpoint with your app, you can specify it as a parameter to npm run package or npm run package:x86. This can help if you are trying to make your build from your own specific test or acceptance environment. Optionally, you can set various environments in the config/environments.json file. This combination of commands does the following: To prepare your app for building, follow these instructions:
This document describes how to build your hybrid apps locally.