liuliu / swift-diffusion

BSD 3-Clause "New" or "Revised" License
423 stars 33 forks source link

Not working with MacOS 13.5 #58

Open ghost opened 1 month ago

ghost commented 1 month ago

I updated the XCode version and for some reason it started to compile for MacOS 14.2. I am on XCode 15.2 and MacOS 13.5


dyld[88738]: Symbol not found: _$sSa034_makeUniqueAndReserveCapacityIfNotB0yyFyXl_Ts5
  Referenced from: <B9ED5B4E-5974-3AEE-B5B8-84DFB0E9056E> /private/var/tmp/_bazel_samantha/1f5feb78215e532536d307cb44606ce9/execroot/__main__/bazel-out/darwin_arm64-opt/bin/examples/sdxl (built for macOS 14.2 which is newer than running OS)
  Expected in:     <EAA43988-4F04-3D39-A0A6-D597E46E966E> /usr/lib/swift/libswiftCore.dylib
ghost commented 1 month ago

I was able to fix it using macos_command_line_application from apple_rules