SolaWing / xcode-build-server

a build server protocol implementation for integrate xcode with sourcekit-lsp
MIT License
428 stars 19 forks source link

Does this works with bazel? #48

Closed marcelodeaguiar closed 7 months ago

marcelodeaguiar commented 8 months ago

If not, what would be needed to make it work?

From my understanding this uses xcode build log. What information would Bazel build log need so we can do the same?

SolaWing commented 8 months ago

xcode-build-server extract module or file compile command like swiftc or clang from xcodebuild log, and save it to .compile file. you can see .compile file and if you can generate the same file, xcode-build-server can works for sourcekit-lsp too. bazel may has command directly get the compile command so you can generate .compile file directly. even not need to really compile. But if you can not get the compile command directly, you can give the sample build log and I will know how to parse it

ychie commented 3 months ago

hey @marcelodeaguiar. Did you manage to make this work?