We have released HavenAcknowledgments, an open source Swift package that shows licence notices for your dependencies.
It scans your Package.resolved file at build time, detects each licence type, and gives you a SwiftUI view your users can browse. It recognises more than 25 licence types through SPDX identifiers.
The view uses native navigation on each platform. NavigationSplitView on macOS, NavigationStack on iOS. It includes search, so users can find a specific package fast.
If you have vendored code or dependencies outside of Swift Package Manager, you can add those licences by hand.
The package is translated into 50 languages, including right-to-left scripts.
The code is on GitHub under the BSD 3-Clause licence.