Skip to content

kopyl/appkit-starter-pack

Repository files navigation

Automate project creation with create-macos-app.sh

create-macos-app.sh bash script automates AppKit project creation with opinionated defaults:

  1. Minimum macOS version: 12.0
  2. "Debug executable" is disabled when a project is created

To create a project, simply run sh create-macos-app.sh 'my app' with the name of your app (instead of 'my app') When a project is created for the first time, it's going to ask you for your organization identifier, which you can usually find when you press "command + Shift + N" to create a new project, select project type, hit "Next" and see the project's options: image

Here you might see an example output of the sh create-macos-app.sh 'my app' command: image

Plans:

Add this to your bash profile to be able to create apps from cli like:

  • new mac app app-name
  • new macos app app-name
new() {
    if [[ ("$1" == "mac" || "$1" == "macos") && "$2" == "app" ]]; then
        sh create-macos-app.sh "$3"
    fi
}

And make sure your specify correct path to create-macos-app.sh from this repo

About

Starter template for all AppKit macOS Swift apps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published