Generate a list of dependencies for the swift package libraries

DependencyList

Generate a list of dependencies for the swift package libraries that your macOS app depends on.

Example

Supported License Types

  • Apache license 2.0
  • MIT License
  • BSD 3-clause Clear license
  • zLib License

Requirements

  • Written in Swift 5
  • Compatible with macOS 11.0+
  • Development with Xcode 14.1+

Installation

DependencyList is available through Swift Package Manager.

  1. Integrate DependencyList in your project
    • File > Add Packages…
    • Search https://github.com/Kyome22/DependencyList.git
    • Choose DependencyList product and add it to your application target
  2. Link DependencyList in your application target
    • Application Target > General > Frameworks, Libraries, and Embedded Content > +
    • Choose DependencyList
  3. Add PrepareDependencyList plugin to build phases
    • Application Target > Build Phases > Run Build Tool Plug-ins > +
    • Choose PrepareDependencyList

Usage

Use DependencyListWindow.

import AppKit
import DependencyList

let window = DependencyListWindow()
let licensesWindowColtroller = NSWindowController(window: window)
licensesWindowColtroller?.showWindow(nil)

GitHub

View Github