I am trying to see if I can get this working for Mac OS these days. But somehow it just doesn't seem to find TargetBuildContext. I can't really find anything interesting about the error. My setup is slightly different than the examples
I am on Mac OS
I have a newer nightly toolchain, it fails to install anything around the time you mentioned
I don't think I have to flip the SWIFTPM_ENABLE_PLUGINS value because it's on automatically, it at least doesn't affect my issue
I did reformat the NativeScriptGenerator main file because I was getting other errors so it's a newer format (see below).
I'd be interested to help with this stuff but it's a bit new to me so any help is appreciated.
command:
error: plugin compilation failed: error: emit-module command failed with exit code 1 (use -v to see invocation)
/<path>/godot-swift/sources/godot-nativescript/main.swift:4:39: error: cannot find type 'TargetBuildContext' in scope
func createBuildCommands(context: TargetBuildContext) throws -> [Command] {
^~~~~~~~~~~~~~~~~~
I am trying to see if I can get this working for Mac OS these days. But somehow it just doesn't seem to find TargetBuildContext. I can't really find anything interesting about the error. My setup is slightly different than the examples
I'd be interested to help with this stuff but it's a bit new to me so any help is appreciated.
command:
sources/godot-nativescript/main.swift