From 4d0c4298f9ec728168d841d365ca2d4aa0d41f3a Mon Sep 17 00:00:00 2001 From: Kabir Oberai Date: Fri, 25 Sep 2026 02:15:55 -0400 Subject: [PATCH] build: use SwiftBuild for xtool workspace LSP (#282) ## What does this PR do? Configure SourceKit-LSP to use SwiftBuild when working on xtool itself. The legacy build system has trouble with xcframeworks. ## How was it tested? Confirmed that it fixes highlighting of error diagnostics ## AI tool usage How much of this PR was AI-assisted? (check one) - [x] **0** - No AI was used to write code - [ ] **1** - I was assisted by AI. I reviewed the finished result. - [ ] **2** - I set the AI going and left it to it; nobody has read the result - no review, or AI review only --- .sourcekit-lsp/config.json | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .sourcekit-lsp/config.json diff --git a/.sourcekit-lsp/config.json b/.sourcekit-lsp/config.json new file mode 100644 index 0000000..59d2590 --- /dev/null +++ b/.sourcekit-lsp/config.json @@ -0,0 +1,7 @@ +{ + "swiftPM": { + "buildSystem": "swiftbuild", + "scratchPath": ".build/index-build" + }, + "backgroundIndexing": true +}