Skip to content

๐Ÿ”– Generate or update a `Info.plist` for your Swift Package Manager projects.

License

Notifications You must be signed in to change notification settings

astzweig/swift-project-info-plist

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

24 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ”– Project Info Plist

A command-line app to generate or update a Info.plist for your Swift Package Manager projects using the package information and information from git.

Usage

Once installed the command-line app can be run as follows:

$> create-project-plist --project-directory <path> --output-directory <path>

The two required options are:

  1. --project-directory: The directory path of your Swift Package, for which the Info.plist shall be generated or updated.
  2. --output-directory: The directory path, where the Info.plist shall be written to. If a Info.plist exists already there, it will be merged.

Run the command-line app with --help to see all options.

Swift Run

Alternativly, if you do not want to build and install the command-line app on your system, you can use swift run inside your local copy of this repository:

$> swift run -- create-project-plist --project-directory <path> --output-directory <path>

Adding additional Key-Value pairs

The command-line app supports setting additional key/value pairs. Just supply them at the end of the command line using the format key:value:

$> create-project-plist [...] SomeKey:"Some longer value" NextKey:AnotherValue

Install

You can install create-project-plist using Homebrew:

> brew tap astzweig/formulae
> brew install create-project-plist

You can also just download the precompiled release version on the release page. Alternativly you can just download this repository and build the executable yourself using swift build.

Changelog

This project keeps a changelog that adheres to Keep a Changelog.

About

๐Ÿ”– Generate or update a `Info.plist` for your Swift Package Manager projects.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages