Skip to content

simonlee2/storekit-config-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

storekit-config-loader

storekit-config-loader is a Node.js CLI tool to generate StoreKit Configuration files through the AppStore Connect API.

When syncing through Xcode doesn't work, this will.

Table of Contents

Installation

You can install storekit-config-loader globally using npm:

npm install -g storekit-config-loader

You can also install using yarn:

yarn global add storekit-config-loader

Usage

To generate a StoreKit configuration file, use the generate command with the required options:

skconfig generate [options]

Options

The following options are required to generate the StoreKit configuration:

  • --output, -o: Output path for the configuration file
  • --app-id, -a: App ID to generate the StoreKit configuration
  • --issuer-id, -i: Issuer ID to generate the StoreKit configuration
  • --api-key, -k: API Key to generate the StoreKit configuration
  • --private-key, -p: Private Key to generate the StoreKit configuration

Output

The output file path where the StoreKit configuration file will be saved. This option is required.

--output=./path/to/output/Config.storekit

App ID

The App ID of the app for which you want to generate the StoreKit configuration. This option is required.

--app-id=YOUR_APP_ID

Issuer ID

The Issuer ID required to access the AppStore Connect API. This option is required.

--issuer-id=YOUR_ISSUER_ID

API Key

The API Key required to access the AppStore Connect API. This option is required.

--api-key=YOUR_API_KEY

Private Key

The Private Key required to access the AppStore Connect API. This option is required.

--private-key=YOUR_PRIVATE_KEY

Examples

Here's an example of how to use storekit-config-loader:

skconfig generate \
  --output=Config.storekit \
  --app-id=1234567890 \
  --issuer-id=1234567890 \
  --api-key=ABCDEFGHIJKLMN \
  --private-key="-----BEGIN PRIVATE KEY-----\nMIIEv...Pjw/\n-----END PRIVATE KEY-----"

License

storekit-config-loader is released under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published