-
Notifications
You must be signed in to change notification settings - Fork 131
Open
Description
As documented in the Mint readme, SPM now supports resource bundles (since 5.3).
With SwiftGen 6.5 we've switched over to fully using SPM for this, but apparently during installation Mint is getting rid of the resource bundles:
- Mint: crash with 6.5 and bundled templates SwiftGen/SwiftGen#883
- Release a hotfix version to make it compilable with Xcode 13 SwiftGen/SwiftGen#878
Tried it locally as well, and indeed the build folder only contains:
-rwxr-xr-x 1 davidjennes admin 5.0M Oct 4 15:23 swiftgen
Where it should contain:
drwxr-xr-x 3 davidjennes admin 96B Oct 4 15:15 SwiftGen_SwiftGenCLI.bundle
-rwxr-xr-x 1 davidjennes admin 5.2M Oct 4 15:15 swiftgen
To make things a bit spicier, we don't control the name of the bundle, we just use Bundle.module
in Swift code. And in this specific case, it is a resource bundle for a framework the binary depends on (called SwiftGenCLI
). It is defined here in Package.swift.
Coledunsby, martinmose, mickeyl, ericklborges and mikhailmaslo
Metadata
Metadata
Assignees
Labels
No labels