Xcoding with Alfian

Mobile development articles, videos, and tutorials

Build an App Icon Generator Swift CLI Tool for Linux & macOS with Argument Parser

Alt text

We're going to build the CLI Tool for Ubuntu Linux and macOS using Swift Argument Parser Lib.

Here are the main features that we will build in this full tutorial video:

  1. Build a SPM executable App that runs on Ubuntu Linux and macOS.
  2. Use Swift Argument Parser Lib to build CLI Tool with arguments, options, flags parameters.
  3. Use LibGD with SwiftGD to resize images for iOS, Mac, and Apple Watch Icon Sets.
  4. Spawn Shell process to perform UNIX file manipulation (zip, mv, cd, etc)
  5. Use VS Code on Linux with Swift SSG extension to enable code completion and LLDB debugging.