1.0.2 • Published 5 months ago

generate-ipa v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

generate-ipa

This project provides a command-line interface (CLI) tool for generating iOS application packages (.ipa files).

Installation

npm install -g generate-ipa

Or

npm install -D generate-ipa

Usage

generate-ipa --help

Commands

generate-ipa --settings ./settings.json
  • --settings: path to settings.json file.

Example settings file

{
  "archiveLocation": "YourProject.xcarchive",
  "adhocExportOptions": "AdHocExportOptions.plist",
  "storeExportOptions": "StoreExportOptions.plist",
  "projectFilePath": "ios/YourProject.xcodeproj/project.pbxproj",
  "devConfiguration": "Development.Release",
  "prodConfiguration": "Production.Release",
  "workspaceFilePath": "ios/YourProject.xcworkspace",
  "outputDirectory": "scripts/output",
  "flavors": ["dev", "stg", "prod"]
}
  • archiveLocation: path to the .xcarchive file.
  • adhocExportOptions: path to the AdHocExportOptions.plist file.
  • storeExportOptions: path to the StoreExportOptions.plist file.
  • projectFilePath: path to the project file.
  • devConfiguration: name of the development configuration.
  • prodConfiguration: name of the production configuration.
  • workspaceFilePath: path to the workspace file.
  • outputDirectory: path to the output directory for the .ipa file.
  • flavors: array of flavors. Defaults to ["dev","prod"].

Flavors

The flavors are used to specify the configurations for different environments. For example, you might have a development environment and a production environment. Each environment has its own configuration, and you can specify which configuration to use for each environment

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

1.0.2

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago