Open Oleg-E-Bakharev opened 2 years ago
I have many local packages in my project. Adding SwiftGenPlugin as build plugin increase incremental compilation time by one second (average) per package Instead of build plugin I want use swiftgen as plugin command for manually generating resource code after resources change Now I can't do it.
Same issue in Xcode 14.1. Can't run from command line also swift package --allow-writing-to-package-directory generate-code-for-resources
. It's needed to allow writing permission on CI
I use SwifGenPlugin 6.6.2 with Xcode 14.0.1
Build log: `working directory: /Users/oleg/WB/sup0/WBPortal/Common tool mapping: swiftgen: /Users/oleg/DerivedData/WBPortal-drydlhcptbdwvfdkjlqizuorsswk/SourcePackages/artifacts/swiftgenplugin/swiftgen.artifactbundle/swiftgen/bin/swiftgen tool paths: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin /Applications/Xcode.app/Contents/Developer/usr/bin /bin /sbin /usr/bin /usr/sbin
Error: Unknown option '--target' Usage: swiftgen config run [--config] [--quiet] [--normal] [--verbose]
See 'swiftgen config run --help' for more information.
swiftgen invocation failed: NSTaskTerminationReason(rawValue: 1):64`