migueldeicaza / SwiftGodotKit

Embed Godot into Swift apps

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StandaloneExample fails to build on macOS without removal of `@Godot`

hwjeremy opened this issue · comments

Hi everyone,

While attempting to reproduce a behaviour in a minimal project, I found I was unable to build Standalone Example.

The procedure followed:

  1. Clone SwiftGodotKit fresh
  2. "Trust & Enable" plugins
  3. [Await package resolution]
  4. Build via "Run"

Result:

Build failure, "Unknown attribute 'Godot'".

Run-StandaloneExample-2023.12.28_14-26-32-+1100.xcresult.zip

Screenshot 2023-12-28 at 14 30 43

Curiously, removing @Godot and re-running allows the project to build and run successfully:

Screenshot 2023-12-28 at 14 33 03

Environment:

macOS 14.2
Xcode 15.0.1
Swift version 5.9
Macbook Pro 16 w/ M2 Max

Ah yes, that has some very old hardwired dependencies, updating the sample

Fixed by bumping the referenced versions. thanks for the bug report!~