SolaWing / xcode-build-server

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

iOS project issues with XCode 15.3 #45

Closed Antonz0 closed 8 months ago

Antonz0 commented 8 months ago

Hello.

After updating to XCode 15.3 yesterday I have issues where most of the files (except pure Objective-C code) in my mixed C++/Objective-C iOS project are not processed correctly in VSCode when using official and recommended by sourcekit-lsp Swift extension and xcode-build-server. Previously it worked fine. I have read previous topic about that and updated to xcode-build-server 1.0.1 via brew now with no luck.

Here's relevant information and clues (I have replaced file and directory names with generic "MyCompany", "ProjectName", "projectdir", "TargetName", "SchemeName" placeholders before pasting it here):

  1. My project is mixed C/C++/Objective-C/Objective-C++ project with Cocoapods, so it's a workspace.
  2. It uses PCH file for C++ code.
  3. It seems that now pure Objective C/C++ files are parsed correctly while pure C/C++ or mixed C++/Objective-C++ files have issues.
  4. In order to trigger all things to work in VSCode I have created dummy Package.swift file in the project root, without it it doesn't even tries to parse any .cpp or .mm, or other supported files, Swift extension is not loaded. Not really sure if it's correct, I'm not much into Swift and just experimented. Here it is:
    
    import PackageDescription

let package = Package( name: "DummySwiftPackage", platforms: [.iOS("17.4")], products: [ .executable( name: "DummySwiftPackage", targets: ["DummySwiftPackage"]) ], targets: [ .executableTarget( name: "DummySwiftPackage" ) ] )

5. Here is my `buildServer.json` file, located at the `/Users/anton/Projects/MyCompany/projectdir/` which was generated by this command: `xcode-build-server config -workspace Projects/iOS/ProjectName.xcworkspace -scheme "SchemeName"`. I have jus recreated it after updating **xcode-build-server**.

{ "name": "xcode build server", "version": "0.2", "bspVersion": "2.0", "languages": [ "c", "cpp", "objective-c", "objective-cpp", "swift" ], "argv": [ "/usr/local/bin/xcode-build-server" ], "workspace": "/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/ProjectName.xcworkspace", "build_root": "/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName", "scheme": "SchemeName", "kind": "xcode" }

6. Here is the log of the sourcekit-lsp server from within VSCode (wrapped long lines):

[Trace - 1:02:29 PM] Sending request 'initialize - (0)'. [Trace - 1:02:29 PM] Received response 'initialize - (0)' in 94ms. [Trace - 1:02:29 PM] Sending notification 'initialized'. [Trace - 1:02:29 PM] Sending notification 'textDocument/didOpen'. INFO:server:Xcode Build Server Startup INFO:server:use flags from /Users/anton/Library/Caches/xcode-build-server/-Users-anton-Projects-MyCompany-projectdir/compile_file-SchemeName-c094da7cb62ed8124e6eccd5abb424b2 The flag -index is obsolete and ignored. I[13:02:29.975] Apple clangd version 15.0.0 (clang-1500.3.9.4) I[13:02:29.975] Features: mac+xpc I[13:02:29.975] PID: 5346 I[13:02:29.975] Working directory: /Users/anton/Projects/MyCompany/projectdir I[13:02:29.975] argv[0]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clangd I[13:02:29.975] argv[1]: -compile_args_from=lsp I[13:02:29.975] argv[2]: -background-index=false I[13:02:29.975] argv[3]: -index=false I[13:02:29.975] Starting LSP over stdin/stdout I[13:02:29.979] <-- initialize(1) I[13:02:30.008] --> reply:initialize(1) 29 ms I[13:02:30.013] <-- initialized [Trace - 1:02:30 PM] Received request 'client/registerCapability - (1)'. [Trace - 1:02:30 PM] Sending response 'client/registerCapability - (1)'. Processing request took 0ms [Trace - 1:02:30 PM] Received request 'client/registerCapability - (2)'. [Trace - 1:02:30 PM] Sending response 'client/registerCapability - (2)'. Processing request took 0ms [Trace - 1:02:30 PM] Received request 'client/registerCapability - (3)'. [Trace - 1:02:30 PM] Sending response 'client/registerCapability - (3)'. Processing request took 0ms [Trace - 1:02:30 PM] Received request 'client/registerCapability - (4)'. [Trace - 1:02:30 PM] Sending response 'client/registerCapability - (4)'. Processing request took 1ms [Trace - 1:02:30 PM] Received request 'client/registerCapability - (5)'. [Trace - 1:02:30 PM] Sending response 'client/registerCapability - (5)'. Processing request took 0ms [Trace - 1:02:30 PM] Received request 'client/registerCapability - (6)'. [Trace - 1:02:30 PM] Sending response 'client/registerCapability - (6)'. Processing request took 1ms I[13:02:30.316] <-- workspace/didChangeConfiguration I[13:02:30.317] <-- textDocument/didOpen I[13:02:30.319] ASTWorker building file /Users/anton/Projects/MyCompany/projectdir/Sources/Core/AppCore.cpp version 1 with command [/Users/anton/Projects/MyCompany/projectdir] /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -ivfsstatcache /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/SDKStatCaches.noindex/iphoneos17.4-21E210-99a79c02cfa501706f5b564e46d84afe.sdkstatcache -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -fno-color-diagnostics -fmodules-prune-interval=86400 -fmodules-prune-after=345600 -fbuild-session-file=/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -Wmissing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Werror=deprecated-objc-isa-usage -Werror=objc-root-class -Wno-non-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wnewline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wno-deprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -index-store-path /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Index.noindex/DataStore -include /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/ProjectName_Prefix.pch -MMD -MT dependencies -MF /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.d --serialize-diagnostics /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.dia -c -index-unit-output-path /ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.o -working-directory /Users/anton/Projects/MyCompany/projectdir -resource-dir=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk

/Users/anton/Projects/MyCompany/projectdir/Sources/Core/AppCore.cpp [Trace - 1:02:31 PM] Sending request 'textDocument/documentColor - (1)'. [Trace - 1:02:31 PM] Received response 'textDocument/documentColor - (1)' in 1ms. [Trace - 1:02:31 PM] Sending request 'textDocument/codeAction - (2)'. I[13:02:31.233] <-- textDocument/codeAction(2) [Trace - 1:02:31 PM] Sending request 'textDocument/inlayHint - (3)'. [Trace - 1:02:32 PM] Sending request 'textDocument/foldingRange - (4)'. I[13:02:32.261] Indexing c++98 standard library in the context of /Users/anton/Projects/MyCompany/projectdir/Sources/Core/AppCore.cpp [Trace - 1:02:32 PM] Sending request 'textDocument/semanticTokens/full - (5)'. I[13:02:32.319] <-- textDocument/inlayHint(3) I[13:02:32.319] <-- textDocument/foldingRange(4) I[13:02:32.321] --> reply:textDocument/foldingRange(4) 1 ms [Trace - 1:02:32 PM] Received response 'textDocument/foldingRange - (4)' in 18ms. I[13:02:32.330] <-- textDocument/semanticTokens/full(5) I[13:02:33.099] Built preamble of size 6997588 for file /Users/anton/Projects/MyCompany/projectdir/Sources/Core/AppCore.cpp version 1 in 2.78 seconds I[13:02:33.101] --> workspace/semanticTokens/refresh(0) [Trace - 1:02:33 PM] Received request 'workspace/semanticTokens/refresh - (7)'. [Trace - 1:02:33 PM] Sending response 'workspace/semanticTokens/refresh - (7)'. Processing request took 0ms I[13:02:33.103] <-- reply(0) E[13:02:33.103] Failed to decode workspace/semanticTokens/refresh reply: expected null E[13:02:33.103] Failed to refresh semantic tokens: -32602: failed to decode workspace/semanticTokens/refresh reply: expected null I[13:02:33.207] --> textDocument/publishDiagnostics I[13:02:33.209] --> reply:textDocument/codeAction(2) 1975 ms I[13:02:33.209] --> reply:textDocument/inlayHint(3) 889 ms I[13:02:33.210] --> reply:textDocument/semanticTokens/full(5) 879 ms [Trace - 1:02:33 PM] Received response 'textDocument/inlayHint - (3)' in 1293ms. [Trace - 1:02:33 PM] Received notification 'textDocument/publishDiagnostics'. [Trace - 1:02:33 PM] Received response 'textDocument/codeAction - (2)' in 2001ms. [Trace - 1:02:33 PM] Received response 'textDocument/semanticTokens/full - (5)' in 896ms. [Trace - 1:02:33 PM] Sending request 'textDocument/codeAction - (6)'. I[13:02:33.264] <-- textDocument/codeAction(6) I[13:02:33.264] --> reply:textDocument/codeAction(6) 0 ms [Trace - 1:02:33 PM] Received response 'textDocument/codeAction - (6)' in 5ms. [Trace - 1:02:33 PM] Sending request 'textDocument/codeAction - (7)'. I[13:02:33.873] <-- textDocument/codeAction(7) I[13:02:33.873] --> reply:textDocument/codeAction(7) 0 ms [Trace - 1:02:33 PM] Received response 'textDocument/codeAction - (7)' in 1ms. [Trace - 1:02:33 PM] Sending request 'textDocument/semanticTokens/full/delta - (8)'. I[13:02:33.954] <-- textDocument/semanticTokens/full/delta(8) I[13:02:33.955] --> reply:textDocument/semanticTokens/full/delta(8) 0 ms [Trace - 1:02:33 PM] Received response 'textDocument/semanticTokens/full/delta - (8)' in 4ms. [Trace - 1:02:34 PM] Sending notification '$/setTrace'. [Trace - 1:02:34 PM] Sending request 'textDocument/codeAction - (9)'. I[13:02:34.573] <-- textDocument/codeAction(9) I[13:02:34.573] --> reply:textDocument/codeAction(9) 0 ms [Trace - 1:02:34 PM] Received response 'textDocument/codeAction - (9)' in 1ms. [Trace - 1:02:34 PM] Sending request 'textDocument/codeAction - (10)'. I[13:02:34.576] <-- textDocument/codeAction(10) I[13:02:34.576] --> reply:textDocument/codeAction(10) 0 ms [Trace - 1:02:34 PM] Received response 'textDocument/codeAction - (10)' in 2ms. [Trace - 1:02:35 PM] Sending request 'textDocument/codeAction - (11)'. I[13:02:35.629] <-- textDocument/codeAction(11) I[13:02:35.630] --> reply:textDocument/codeAction(11) 0 ms [Trace - 1:02:35 PM] Received response 'textDocument/codeAction - (11)' in 3ms. [Trace - 1:02:35 PM] Sending request 'textDocument/documentColor - (12)'. [Trace - 1:02:35 PM] Received response 'textDocument/documentColor - (12)' in 1ms. I[13:02:35.897] Indexed c++98 standard library (incomplete due to errors): 8257 symbols, 2778 filtered [Trace - 1:02:36 PM] Sending request 'textDocument/foldingRange - (13)'. I[13:02:36.517] <-- textDocument/foldingRange(12) I[13:02:36.519] --> reply:textDocument/foldingRange(12) 1 ms [Trace - 1:02:36 PM] Received response 'textDocument/foldingRange - (13)' in 3ms. [Trace - 1:02:36 PM] Sending notification '$/setTrace'. [Trace - 1:02:36 PM] Sending request 'textDocument/codeAction - (14)'. I[13:02:36.969] <-- textDocument/codeAction(13) I[13:02:36.970] --> reply:textDocument/codeAction(13) 0 ms [Trace - 1:02:36 PM] Received response 'textDocument/codeAction - (14)' in 1ms. [Trace - 1:02:36 PM] Sending request 'textDocument/documentSymbol - (15)'. I[13:02:36.978] <-- textDocument/documentSymbol(14) I[13:02:36.979] --> reply:textDocument/documentSymbol(14) 0 ms [Trace - 1:02:36 PM] Received response 'textDocument/documentSymbol - (15)' in 7ms. [Trace - 1:02:37 PM] Sending notification '$/setTrace'.

7. And here is the part of the file `/Users/anton/Library/Caches/xcode-build-server/-Users-anton-Projects-MyCompany-projectdir/compile_file-SchemeName-c094da7cb62ed8124e6eccd5abb424b2`, I took only block that relates to the opened file in this example (wrapped long lines):

{ "directory": "/Users/anton/Projects/MyCompany/projectdir/Projects/iOS", "command": " /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c++ -ivfsstatcache /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/SDKStatCaches.noindex/iphoneos17.4-21E210-99a79c02cfa501706f5b564e46d84afe.sdkstatcache -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fno-color-diagnostics -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wno-trigraphs -Wmissing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wunreachable-code -Werror\=deprecated-objc-isa-usage -Werror\=objc-root-class -Wno-non-virtual-dtor -Woverloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wnewline-eof -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wno-deprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -index-store-path /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Index.noindex/DataStore @/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/82b82416624d2658e5098eb0a28c15c5-common-args.resp -include /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/ProjectName_Prefix.pch -MMD -MT dependencies -MF /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.d --serialize-diagnostics /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.dia -c /Users/anton/Projects/MyCompany/projectdir/Sources/Core/AppCore.cpp -o /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.o -index-unit-output-path /ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.o", "file": "/Users/anton/Projects/MyCompany/projectdir/Sources/Core/AppCore.cpp", "output": "/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.o" },


8. I tried closing everything and deleting `/Users/anton/Library/Caches/xcode-build-server` directory multiple times - no luck.
9. I tried closing everything and deleting `/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData` completely and rebuilding project using the same scheme that I selected above in Xcode multiple times (it builds OK) - no luck. 
10. I tried using different source-kit-lsp paths: one installed at `/usr/bin/sourcekit-lsp`, other within 'Xcode.app' (should be more fresh),  and even building a release build from the [release that was just made yesterday](https://github.com/apple/sourcekit-lsp/releases/tag/swift-5.10-RELEASE) (was putting it in my local bin dir: `/Users/anton/bin`).
11. Tried specifying iOS paltform in Swift advanced settings, it sets this VSCode option:
`"swift.SDK": "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.4.sdk"`. Not sure if it affects anything...

It really seems that problems lies with clang flags now being wrong and that it selects MacOS platform instead of iPhone platform (note the `-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk` in the VSCode output), and probably is missing some flags. Maybe it is something caused by changes in flags, parsing of responce file. Because previously I remember that there were more options to clangd passed, including various defines, etc.  But I assure you that ".resp" file to which build command points in the build directory within "DerivedData" exists and is populated with correct info. 
Antonz0 commented 8 months ago

To compare with. Just downloaded and isntalled back Xcode 15.2 (because I need to finish my work), all other tools and evironment is same, just again cleaned up cache dir and DerivedData and rebuilt project. And here how it looks with it. And it works with Xcode 15.2 .

  1. VScode output file (wrapped long lines again).
    [Trace - 2:34:56 PM] Sending request 'initialize - (0)'.
    INFO:server:Xcode Build Server Startup
    [Trace - 2:34:57 PM] Received response 'initialize - (0)' in 1249ms.
    [Trace - 2:34:57 PM] Sending notification 'initialized'.
    [Trace - 2:34:57 PM] Sending notification 'textDocument/didOpen'.
    INFO:server:use flags from /Users/anton/Library/Caches/xcode-build-server/-Users-anton-Projects-MyCompany-projectdir/compile_file-SchemeName-c094da7cb62ed8124e6eccd5abb424b2
    [Trace - 2:34:58 PM] Sending request 'textDocument/documentSymbol - (1)'.
    [Trace - 2:34:58 PM] Sending request 'textDocument/codeAction - (2)'.
    [Trace - 2:34:58 PM] Sending request 'textDocument/documentColor - (3)'.
    The flag `-index` is obsolete and ignored.
    I[14:35:00.327] Apple clangd version 15.0.0 (clang-1500.1.0.2.5)
    I[14:35:00.328] Features: mac+xpc
    I[14:35:00.328] PID: 10824
    I[14:35:00.329] Working directory: /Users/anton/Projects/MyCompany/projectdir
    I[14:35:00.329] argv[0]: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clangd
    I[14:35:00.329] argv[1]: -compile_args_from=lsp
    I[14:35:00.329] argv[2]: -background-index=false
    I[14:35:00.329] argv[3]: -index=false
    I[14:35:00.329] Starting LSP over stdin/stdout
    I[14:35:00.330] <-- initialize(1)
    I[14:35:01.651] --> reply:initialize(1) 1320 ms
    [Trace - 2:35:01 PM] Received request 'client/registerCapability - (1)'.
    [Trace - 2:35:01 PM] Sending response 'client/registerCapability - (1)'. Processing request took 0ms
    [Trace - 2:35:01 PM] Received request 'client/registerCapability - (2)'.
    [Trace - 2:35:01 PM] Sending response 'client/registerCapability - (2)'. Processing request took 0ms
    [Trace - 2:35:01 PM] Received request 'client/registerCapability - (3)'.
    [Trace - 2:35:01 PM] Sending response 'client/registerCapability - (3)'. Processing request took 1ms
    [Trace - 2:35:01 PM] Received request 'client/registerCapability - (4)'.
    [Trace - 2:35:01 PM] Sending response 'client/registerCapability - (4)'. Processing request took 0ms
    I[14:35:01.658] <-- initialized
    [Trace - 2:35:01 PM] Received request 'client/registerCapability - (5)'.
    [Trace - 2:35:01 PM] Sending response 'client/registerCapability - (5)'. Processing request took 1ms
    [Trace - 2:35:01 PM] Received request 'client/registerCapability - (6)'.
    [Trace - 2:35:01 PM] Sending response 'client/registerCapability - (6)'. Processing request took 0ms
    [Trace - 2:35:01 PM] Sending request 'textDocument/inlayHint - (4)'.
    I[14:35:01.715] <-- workspace/didChangeConfiguration
    I[14:35:01.715] <-- textDocument/didOpen
    [Trace - 2:35:01 PM] Received response 'textDocument/documentColor - (3)' in 3524ms.
    I[14:35:01.717] <-- textDocument/documentSymbol(2)
    I[14:35:01.717] <-- textDocument/codeAction(3)
    I[14:35:01.718] <-- textDocument/inlayHint(4)
    I[14:35:01.721] ASTWorker building file /Users/anton/Projects/MyCompany/projectdir/Sources/Core/AppCore.cpp version 1 with command 
    [/Users/anton/Projects/MyCompany/projectdir]
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
    -x
    c++
    -ivfsstatcache
    /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/SDKStatCaches.noindex/iphoneos17.2-21C52-884b7f60ac6761a492c03f282b824eb9.sdkstatcache
    -target
    arm64-apple-ios12.2
    -fmessage-length=0
    -fdiagnostics-show-note-include-stack
    -fmacro-backtrace-limit=0
    -fno-color-diagnostics
    -std=c++17
    -fmodules
    -gmodules
    -fmodules-cache-path=/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ModuleCache.noindex
    -fmodules-prune-interval=86400
    -fmodules-prune-after=345600
    -fbuild-session-file=/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ModuleCache.noindex/Session.modulevalidation
    -fmodules-validate-once-per-build-session
    -Wno-trigraphs
    -fpascal-strings
    -O0
    -fno-common
    -Wmissing-field-initializers
    -Wno-missing-prototypes
    -Werror=return-type
    -Wunreachable-code
    -Werror=deprecated-objc-isa-usage
    -Werror=objc-root-class
    -Wno-non-virtual-dtor
    -Woverloaded-virtual
    -Wno-exit-time-destructors
    -Wno-missing-braces
    -Wparentheses
    -Wswitch
    -Wunused-function
    -Wno-unused-label
    -Wno-unused-parameter
    -Wunused-variable
    -Wunused-value
    -Wempty-body
    -Wuninitialized
    -Wno-unknown-pragmas
    -Wno-shadow
    -Wno-four-char-constants
    -Wno-conversion
    -Wconstant-conversion
    -Wint-conversion
    -Wbool-conversion
    -Wenum-conversion
    -Wno-float-conversion
    -Wnon-literal-null-conversion
    -Wobjc-literal-conversion
    -Wshorten-64-to-32
    -Wnewline-eof
    -Wno-c++11-extensions
    -Wno-implicit-fallthrough
    -DGLES_SILENCE_DEPRECATION
    -DDEBUG=1
    -DFEATURE_ADS_APPLOVIN
    -DFEATURE_FIREBASE_CRASHLYTICS
    -DCOCOAPODS=1
    -DGLES_SILENCE_DEPRECATION
    -DDEBUG=1
    -DFEATURE_ADS_APPLOVIN
    -DFEATURE_FIREBASE_CRASHLYTICS
    -DPB_FIELD_32BIT=1
    -DPB_NO_PACKED_STRUCTS=1
    -DPB_ENABLE_MALLOC=1
    -isysroot
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk
    -fstrict-aliasing
    -Wno-deprecated-declarations
    -Winvalid-offsetof
    -g
    -fvisibility-inlines-hidden
    -Wno-sign-conversion
    -Winfinite-recursion
    -Wmove
    -Wcomma
    -Wblock-capture-autoreleasing
    -Wstrict-prototypes
    -Wrange-loop-analysis
    -Wno-semicolon-before-method-body
    -index-store-path
    /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Index.noindex/DataStore
    -I/Users/anton/Projects/MyCompany/projectdir/Sources
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Libs/PlayFabSDK
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/include
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Frameworks/Reachability
    -I/Users/anton/Projects/MyCompany/projectdir/Sources
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCoreExtension/FirebaseCoreExtension.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCoreInternal/FirebaseCoreInternal.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCrashlytics/FirebaseCrashlytics.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseInstallations/FirebaseInstallations.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseSessions/FirebaseSessions.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/PromisesObjC/FBLPromises.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/PromisesSwift/Promises.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/TOReachability/TOReachability.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/nanopb/nanopb.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/Headers/Public
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/Headers/Public/BURelyFoundation_Global
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationByteDanceAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationFacebookAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationFyberAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationGoogleAdManagerAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationGoogleAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationIronSourceAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationMintegralAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationUnityAdsAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationVungleAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/AFNetworking/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/APM/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/Foundation/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/Gecko/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/Header/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/NETWork/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/SDWebImage/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/YYModel/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/ZFPlayer/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/Zip/Headers
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/Boost/install
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/blowfish/origin/include
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/color/origin/src
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/enum-flags/origin/include
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/FMOD/origin/ios/api/core/inc
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/JsonBox/origin/include
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/rapidjson/origin/include
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/thread_pool/origin/include
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/DerivedSources-normal/arm64
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/DerivedSources/arm64
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/DerivedSources
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCore
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCoreExtension
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCoreInternal
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCrashlytics
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseInstallations
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseSessions
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/GoogleDataTransport
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/GoogleUtilities
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/PromisesObjC
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/PromisesSwift
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/TOReachability
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/nanopb
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/Ads-Global/SDK
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationByteDanceAdapter/AppLovinMediationByteDanceAdapter-5.8.0.7.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationFacebookAdapter/AppLovinMediationFacebookAdapter-6.14.0.1
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationFyberAdapter/AppLovinMediationFyberAdapter-8.2.5.2
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationGoogleAdManagerAdapter/AppLovinMediationGoogleAdManagerAdapter-11.0.1.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationGoogleAdapter/AppLovinMediationGoogleAdapter-11.0.1.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationIronSourceAdapter/AppLovinMediationIronSourceAdapter-7.8.0.0.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationMintegralAdapter/AppLovinMediationMintegralAdapter-7.5.8.0.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationUnityAdsAdapter/AppLovinMediationUnityAdsAdapter-4.9.3.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationVungleAdapter/AppLovinMediationVungleAdapter-7.2.2.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinSDK/applovin-ios-sdk-12.3.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalAFN
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalAPM
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalFoundation
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalGecko
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalHeader
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalNETWork
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalSDWebImage
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalYYModel
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalZFPlayer
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalZip
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/FBAudienceNetwork/Static
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/FirebaseAnalytics/Frameworks
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/Fyber_Marketplace_SDK/IASDKCore
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/GA-SDK-IOS
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/GoogleAppMeasurement/Frameworks
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/GoogleUserMessagingPlatform/Frameworks/Release
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/IronSourceSDK/IronSource
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/MintegralAdSDK/Fmk
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/UnityAds
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/VungleAds/static
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/Ads-Global/BUAdSDK_Compatible
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/Ads-Global/BURelyAdSDK
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinSDK
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/FBAudienceNetwork
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/Fyber_Marketplace_SDK
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/Google-Mobile-Ads-SDK
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/AdIdSupport
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/GoogleUserMessagingPlatform
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/IronSourceSDK
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/BannerAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/BidNativeAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/InterstitialVideoAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/NativeAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/NewInterstitialAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/RewardVideoAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/SplashAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UnityAds
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/VungleAds
    -include
    /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/ProjectName_Prefix.pch
    -MMD
    -MT
    dependencies
    -MF
    /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.d
    --serialize-diagnostics
    /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.dia
    -c
    -o
    /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.o
    -index-unit-output-path
    /ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.o
    -Xclang
    -fmodule-format=raw
    -working-directory
    /Users/anton/Projects/MyCompany/projectdir
    -resource-dir=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/15.0.0
    --
    /Users/anton/Projects/MyCompany/projectdir/Sources/Core/AppCore.cpp
    [Trace - 2:35:01 PM] Sending request 'textDocument/foldingRange - (5)'.
    I[14:35:01.960] <-- textDocument/foldingRange(5)
    I[14:35:01.963] --> reply:textDocument/foldingRange(5) 2 ms
    [Trace - 2:35:01 PM] Received response 'textDocument/foldingRange - (5)' in 5ms.
    [Trace - 2:35:02 PM] Sending request 'textDocument/semanticTokens/full - (6)'.
    I[14:35:02.111] <-- textDocument/semanticTokens/full(6)
    I[14:35:06.234] Indexing c++17 standard library in the context of /Users/anton/Projects/MyCompany/projectdir/Sources/Core/AppCore.cpp
    I[14:35:07.896] Built preamble of size 41484496 for file /Users/anton/Projects/MyCompany/projectdir/Sources/Core/AppCore.cpp version 1 in 6.16 seconds
    I[14:35:07.903] --> workspace/semanticTokens/refresh(0)
    [Trace - 2:35:07 PM] Received request 'workspace/semanticTokens/refresh - (7)'.
    [Trace - 2:35:07 PM] Sending response 'workspace/semanticTokens/refresh - (7)'. Processing request took 0ms
    I[14:35:07.906] <-- reply(0)
    E[14:35:07.906] Failed to decode workspace/semanticTokens/refresh reply: expected null
    E[14:35:07.906] Failed to refresh semantic tokens: -32602: failed to decode workspace/semanticTokens/refresh reply: expected null
    I[14:35:08.007] --> textDocument/publishDiagnostics
    [Trace - 2:35:08 PM] Received notification 'textDocument/publishDiagnostics'.
    I[14:35:08.009] --> reply:textDocument/documentSymbol(2) 6291 ms
    I[14:35:08.010] --> reply:textDocument/codeAction(3) 6292 ms
    I[14:35:08.010] --> reply:textDocument/inlayHint(4) 6293 ms
    I[14:35:08.012] --> reply:textDocument/semanticTokens/full(6) 5900 ms
    [Trace - 2:35:08 PM] Received response 'textDocument/documentSymbol - (1)' in 9840ms.
    [Trace - 2:35:08 PM] Received response 'textDocument/codeAction - (2)' in 9827ms.
    [Trace - 2:35:08 PM] Received response 'textDocument/inlayHint - (4)' in 6358ms.
    [Trace - 2:35:08 PM] Received response 'textDocument/semanticTokens/full - (6)' in 5912ms.
    [Trace - 2:35:08 PM] Sending request 'textDocument/semanticTokens/full/delta - (7)'.
    ...
  2. part of the file /Users/anton/Library/Caches/xcode-build-server/-Users-anton-Projects-MyCompany-projectdir/compile_file-SchemeName-c094da7cb62ed8124e6eccd5abb424b2:
    {
        "directory": "/Users/anton/Projects/MyCompany/projectdir/Projects/iOS",
        "command":
    "
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
    -x
    c++
    -ivfsstatcache
    /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/SDKStatCaches.noindex/iphoneos17.2-21C52-884b7f60ac6761a492c03f282b824eb9.sdkstatcache
    -target
    arm64-apple-ios12.2
    -fmessage-length\\=0
    -fdiagnostics-show-note-include-stack
    -fmacro-backtrace-limit\\=0
    -fno-color-diagnostics
    -std\\=c++17
    -fmodules
    -gmodules
    -fmodules-cache-path\\=/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ModuleCache.noindex
    -fmodules-prune-interval\\=86400
    -fmodules-prune-after\\=345600
    -fbuild-session-file\\=/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ModuleCache.noindex/Session.modulevalidation
    -fmodules-validate-once-per-build-session
    -Wno-trigraphs
    -fpascal-strings
    -O0
    -fno-common
    -Wmissing-field-initializers
    -Wno-missing-prototypes
    -Werror\\=return-type
    -Wunreachable-code
    -Werror\\=deprecated-objc-isa-usage
    -Werror\\=objc-root-class
    -Wno-non-virtual-dtor
    -Woverloaded-virtual
    -Wno-exit-time-destructors
    -Wno-missing-braces
    -Wparentheses
    -Wswitch
    -Wunused-function
    -Wno-unused-label
    -Wno-unused-parameter
    -Wunused-variable
    -Wunused-value
    -Wempty-body
    -Wuninitialized
    -Wno-unknown-pragmas
    -Wno-shadow
    -Wno-four-char-constants
    -Wno-conversion
    -Wconstant-conversion
    -Wint-conversion
    -Wbool-conversion
    -Wenum-conversion
    -Wno-float-conversion
    -Wnon-literal-null-conversion
    -Wobjc-literal-conversion
    -Wshorten-64-to-32
    -Wnewline-eof
    -Wno-c++11-extensions
    -Wno-implicit-fallthrough
    -DGLES_SILENCE_DEPRECATION
    -DDEBUG\\=1
    -DFEATURE_ADS_APPLOVIN
    -DFEATURE_FIREBASE_CRASHLYTICS
    -DCOCOAPODS\\=1
    -DGLES_SILENCE_DEPRECATION
    -DDEBUG\\=1
    -DFEATURE_ADS_APPLOVIN
    -DFEATURE_FIREBASE_CRASHLYTICS
    -DPB_FIELD_32BIT\\=1
    -DPB_NO_PACKED_STRUCTS\\=1
    -DPB_ENABLE_MALLOC\\=1
    -isysroot
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS17.2.sdk
    -fstrict-aliasing
    -Wno-deprecated-declarations
    -Winvalid-offsetof
    -g
    -fvisibility-inlines-hidden
    -Wno-sign-conversion
    -Winfinite-recursion
    -Wmove
    -Wcomma
    -Wblock-capture-autoreleasing
    -Wstrict-prototypes
    -Wrange-loop-analysis
    -Wno-semicolon-before-method-body
    -index-store-path
    /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Index.noindex/DataStore
    -I/Users/anton/Projects/MyCompany/projectdir/Sources
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Libs/PlayFabSDK
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/include
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Frameworks/Reachability
    -I/Users/anton/Projects/MyCompany/projectdir/Sources
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCore/FirebaseCore.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCoreExtension/FirebaseCoreExtension.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCoreInternal/FirebaseCoreInternal.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCrashlytics/FirebaseCrashlytics.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseInstallations/FirebaseInstallations.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseSessions/FirebaseSessions.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/GoogleUtilities/GoogleUtilities.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/PromisesObjC/FBLPromises.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/PromisesSwift/Promises.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/TOReachability/TOReachability.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/nanopb/nanopb.framework/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/Headers/Public
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/Headers/Public/BURelyFoundation_Global
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationByteDanceAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationFacebookAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationFyberAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationGoogleAdManagerAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationGoogleAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationIronSourceAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationMintegralAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationUnityAdsAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinMediationVungleAdapter/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/AFNetworking/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/APM/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/Foundation/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/Gecko/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/Header/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/NETWork/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/SDWebImage/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/YYModel/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/ZFPlayer/Headers
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/BURelyFoundation_Global/Zip/Headers
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/Boost/install
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/blowfish/origin/include
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/color/origin/src
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/enum-flags/origin/include
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/FMOD/origin/ios/api/core/inc
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/JsonBox/origin/include
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/rapidjson/origin/include
    -isystem
    /Users/anton/Projects/MyCompany/projectdir/Vendor/thread_pool/origin/include
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/DerivedSources-normal/arm64
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/DerivedSources/arm64
    -I/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/DerivedSources
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCore
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCoreExtension
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCoreInternal
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseCrashlytics
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseInstallations
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/FirebaseSessions
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/GoogleDataTransport
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/GoogleUtilities
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/PromisesObjC
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/PromisesSwift
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/TOReachability
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/nanopb
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/Ads-Global/SDK
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationByteDanceAdapter/AppLovinMediationByteDanceAdapter-5.8.0.7.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationFacebookAdapter/AppLovinMediationFacebookAdapter-6.14.0.1
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationFyberAdapter/AppLovinMediationFyberAdapter-8.2.5.2
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationGoogleAdManagerAdapter/AppLovinMediationGoogleAdManagerAdapter-11.0.1.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationGoogleAdapter/AppLovinMediationGoogleAdapter-11.0.1.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationIronSourceAdapter/AppLovinMediationIronSourceAdapter-7.8.0.0.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationMintegralAdapter/AppLovinMediationMintegralAdapter-7.5.8.0.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationUnityAdsAdapter/AppLovinMediationUnityAdsAdapter-4.9.3.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinMediationVungleAdapter/AppLovinMediationVungleAdapter-7.2.2.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/AppLovinSDK/applovin-ios-sdk-12.3.0
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalAFN
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalAPM
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalFoundation
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalGecko
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalHeader
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalNETWork
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalSDWebImage
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalYYModel
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalZFPlayer
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/BURelyFoundation_Global/Frameworks/SDK/BURelyFoundationGlobalZip
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/FBAudienceNetwork/Static
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/FirebaseAnalytics/Frameworks
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/Fyber_Marketplace_SDK/IASDKCore
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/GA-SDK-IOS
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/Google-Mobile-Ads-SDK/Frameworks/GoogleMobileAdsFramework
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/GoogleAppMeasurement/Frameworks
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/GoogleUserMessagingPlatform/Frameworks/Release
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/IronSourceSDK/IronSource
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/MintegralAdSDK/Fmk
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/UnityAds
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/Pods/VungleAds/static
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/Ads-Global/BUAdSDK_Compatible
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/Ads-Global/BURelyAdSDK
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/AppLovinSDK
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/FBAudienceNetwork
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/FirebaseAnalytics/AdIdSupport
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/Fyber_Marketplace_SDK
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/Google-Mobile-Ads-SDK
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/AdIdSupport
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/GoogleAppMeasurement/WithoutAdIdSupport
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/GoogleUserMessagingPlatform
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/IronSourceSDK
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/BannerAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/BidNativeAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/InterstitialVideoAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/NativeAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/NewInterstitialAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/RewardVideoAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/MintegralAdSDK/SplashAd
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/UnityAds
    -F/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Products/Debug-iphoneos/XCFrameworkIntermediates/VungleAds
    -include
    /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/ProjectName_Prefix.pch
    -MMD
    -MT
    dependencies
    -MF
    /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.d
    --serialize-diagnostics
    /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.dia
    -c
    /Users/anton/Projects/MyCompany/projectdir/Sources/Core/AppCore.cpp
    -o
    /Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.o
    -index-unit-output-path
    /ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.o
    ",
        "file": "/Users/anton/Projects/MyCompany/projectdir/Sources/Core/AppCore.cpp",
        "output": "/Users/anton/Projects/MyCompany/projectdir/Projects/iOS/DerivedData/ProjectName/Build/Intermediates.noindex/ProjectName.build/Debug-iphoneos/TargetName.build/Objects-normal/arm64/AppCore.o"
    },

It really looks that previous version of Xcode didn't used .resp file but was generating every flags directly into log. And either xcode-build-server or sourcekit-lsp now has issues with that.

SolaWing commented 8 months ago

Did you tried clean and rebuild your workspace? xcode cache may not compatible between versions

Antonz0 commented 8 months ago

Many times and completely (removing directories) as I outlined in items 8 and 9 of the first post. Maybe I'm missing some cache in another place? I searched for it in ~/Library/Developer, /Library/Application Support/Code (VSCode intermediate stuff), and other places but found nothing useful yet.

SolaWing commented 8 months ago

so the error is related to cpp files.. when use xcode-build-server, Package.swift is unneed. it's different source of flags.

in your compile_file info, seems your flags lack -isysroot, but final be filled in macos root somewhere..

You can set environment SOURCEKIT_LOGGING=3 to see details logs from LSP and xcode-build-server. also, if you can make a minimal project, I can test on it.

Antonz0 commented 8 months ago

Got it. I will try to prepare an isolated minimal project that I can share, just give me some time, on a weekend.

joeldrotleff commented 8 months ago

I'm seeing this as well. Upgraded to Xcode 15.3 and LSP stopped working even after rm rf DerivedData, restart, running Xcode-build-server, etc. Then downgraded to Xcode 15.2 and it's working again.

In LSP log I see a bunch of errors for each of the SPM dependencies: [ERROR][2024-03-11 12:07:44] .../vim/lsp/rpc.lua:734 "rpc" "/usr/bin/sourcekit-lsp" "stderr" "CompileSwiftModule Collections\n"

My project is all Swift/SwiftUI code but has SPM dependencies using ObjC

Thank you for your efforts on this! This project is so great for iOS projects in Neovim!

wojciech-kulik commented 8 months ago

@joeldrotleff when you switch to Xcode 15.3, please make sure that your CLI tools are also switched to the latest version. You can run:

xcode-select --print-path  

to check if your path is correct.

Also, make sure that you are running the correct sourcekit-lsp by setting the following path:

cmd = {
  vim.trim(vim.fn.system("xcrun -f sourcekit-lsp")), -- maybe just "xcrun sourcekit-lsp" would be enough?
},

in your nvim-lspconfig.

Probably the problem is somewhere else, but it's worth checking the configuration first :).

joeldrotleff commented 8 months ago

@wojciech-kulik Thanks for the suggestions. I just tried this again on my other machine, and at first after installing Xcode 15.3 and switching the tools using Xcode settings, setting the command as you describe, and confirming that 'xcrun -f sourcekit-lsp" printed out a path to Xcode-15.3/.../bin, delete derived data, run Xcode-build-server, reopen Neovim it all worked fine, LSP was giving go-to-definition etc.

Then I uninstalled Xcode 15.1, and it doesn't work anymore!

I tried your change, and now :LspInfo says the command is: /Applications/Xcode-15.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/sourcekit-lsp...but it still isn't working

SolaWing commented 8 months ago

@Antonz0 I have tested on xcode 15.3, and found it emit cpp compile command in a resp file and need to expand it. I have fixed it in newest head, try it to check if it fixes your problem

joeldrotleff commented 8 months ago

Here's the log I get with SOURCEKIT_Logging 3:

[ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0648] service queried UID for: source.request.protocol_version\nsourcekit: [4:handleInternalUIDRequest:4359: 0.0649] service queried UID for: source.request.compiler_version\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0649] service queried UID for: source.request.crash_exit\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0649] service queried UID for: source.request.test_notification\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0650] service queried UID for: source.request.statistics\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0650] service queried UID for: source.request.demangle\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0651] service queried UID for: source.request.mangle_simple_class\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0651] service queried UID for: source.request.enable-compile-notifications\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0651] service queried UID for: source.request.buildsettings.register\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0652] service queried UID for: source.request.dependency_updated\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0652] service queried UID for: source.request.docinfo\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0652] service queried UID for: source.request.editor.open\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0683] service queried UID for: source.diagnostic.stage.swift.parse\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0684] service queried UID for: source.decl.attribute.private\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0684] service queried UID for: source.decl.attribute._custom\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0684] service queried UID for: source.lang.swift.decl.var.instance\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0685] service queried UID for: source.lang.swift.accessibility.private\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0685] service queried UID for: source.lang.swift.accessibility.internal\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0686] service queried UID for: source.lang.swift.expr.call\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0686] service queried UID for: source.lang.swift.stmt.brace\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0687] service queried UID for: source.lang.swift.expr.closure\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0687] service queried UID for: source.lang.swift.expr.argument\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0687] service queried UID for: source.lang.swift.decl.var.local\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0688] service queried UID for: source.lang.swift.structure.elem.condition_expr\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0688] service queried UID for: source.lang.swift.stmt.if\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0689] service queried UID for: source.lang.swift.structure.elem.typeref\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0689] service queried UID for: source.lang.swift.decl.struct\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0690] service queried UID for: source.lang.swift.syntaxtype.keyword\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0690] service queried UID for: source.lang.swift.syntaxtype.identifier\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0690] service queried UID for: source.lang.swift.syntaxtype.typeidentifier\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0691] service queried UID for: source.lang.swift.syntaxtype.attribute.builtin\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [4:handleInternalUIDRequest:4359: 0.0691] service queried UID for: source.lang.swift.syntaxtype.number\n" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" "sourcekit: [2:sourcekitd_send_request_sync-after:8207: 0.0692] {\n key.offset: 0,\n key.length: 988,\n key.diagnostic_stage: source.diagnostic.stage.swift.parse,\n key.syntaxmap: [\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 1,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 8,\n key.length: 7\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 16,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 23,\n key.length: 8\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 33,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 40,\n key.length: 17\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 59,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 71,\n key.length: 17\n },\n {\n key.kind: source.lang.swift.syntaxtype.attribute.builtin,\n key.offset: 89,\n key.length: 7\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 97,\n key.length: 3\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 101,\n key.length: 10\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 113,\n key.length: 10\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 129,\n key.length: 17\n },\n {\n key.kind: source.lang.swift.syntaxtype.attribute.builtin,\n key.offset: 147,\n key.length: 7\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 155,\n key.length: 3\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 159,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 165,\n key.length: 14\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 190,\n key.length: 3\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 194,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 200,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 205,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 220,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 241,\n key.length: 12\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 266,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 290,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 321,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.attribute.builtin,\n key.offset: 333,\n key.length: 7\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 341,\n key.length: 3\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 345,\n key.length: 12\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 359,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 364,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 379,\n key.length: 14\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 394,\n key.length: 5\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 401,\n key.length: 8\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 410,\n key.length: 9\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 421,\n key.length: 10\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 448,\n key.length: 2\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 451,\n key.length: 3\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 455,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 469,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 474,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 486,\n key.length: 7\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 512,\n key.length: 10\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 523,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 529,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 563,\n key.length: 5\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 569,\n key.length: 5\n },\n {\n key.kind: source.lang.swift.syntaxtype.number,\n key.offset: 576,\n key.length: 2\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 580,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.number,\n key.offset: 588,\n key.length: 2\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 632,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.attribute.builtin,\n key.offset: 644,\n key.length: 7\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 652,\n key.length: 3\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 656,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 669,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 674,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 689,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 694,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 699,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 711,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 737,\n key.length: 14\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 752,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.number,\n key.offset: 758,\n key.length: 2\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 762,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 771,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 790,\n key.length: 15\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 807,\n key.length: 5\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 826,\n key.length: 7\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 840,\n key.length: 17\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 869,\n key.length: 17\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key" [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" '.offset: 887,\n key.length: 14\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 902,\n key.length: 18\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 931,\n key.length: 17\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 949,\n key.length: 10\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 960,\n key.length: 22\n }\n ],\n key.substructure: [\n {\n key.kind: source.lang.swift.decl.struct,\n key.accessibility: source.lang.swift.accessibility.internal,\n key.name: "CollegeNameHeader",\n key.offset: 33,\n key.length: 789,\n key.nameoffset: 40,\n key.namelength: 17,\n key.bodyoffset: 65,\n key.bodylength: 756,\n key.inheritedtypes: [\n {\n key.name: "View"\n }\n ],\n key.elements: [\n {\n key.kind: source.lang.swift.structure.elem.typeref,\n key.offset: 59,\n key.length: 4\n }\n ],\n key.substructure: [\n {\n key.kind: source.lang.swift.decl.var.instance,\n key.accessibility: source.lang.swift.accessibility.private,\n key.setter_accessibility: source.lang.swift.accessibility.private,\n key.name: "httpClient",\n key.offset: 97,\n key.length: 26,\n key.typename: "HttpClient",\n key.nameoffset: 101,\n key.namelength: 10,\n key.attributes: [\n {\n key.offset: 89,\n key.length: 7,\n key.attribute: source.decl.attribute.private\n },\n {\n key.offset: 70,\n key.length: 18,\n key.attribute: source.decl.attribute._custom\n }\n ]\n },\n {\n key.kind: source.lang.swift.decl.var.instance,\n key.accessibility: source.lang.swift.accessibility.private,\n key.setter_accessibility: source.lang.swift.accessibility.private,\n key.name: "auth",\n key.offset: 155,\n key.length: 24,\n key.typename: "AuthController",\n key.nameoffset: 159,\n key.namelength: 4,\n key.attributes: [\n {\n key.offset: 147,\n key.length: 7,\n key.attribute: source.decl.attribute.private\n },\n {\n key.offset: 128,\n key.length: 18,\n key.attribute: source.decl.attribute._custom\n }\n ]\n },\n {\n key.kind: source.lang.swift.decl.var.instance,\n key.accessibility: source.lang.swift.accessibility.internal,\n key.name: "body",\n key.offset: 190,\n key.length: 124,\n key.typename: "some View",\n key.nameoffset: 194,\n key.namelength: 4,\n key.bodyoffset: 211,\n key.bodylength: 102\n },\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "HStack",\n key.offset: 220,\n key.length: 88,\n key.nameoffset: 220,\n key.namelength: 6,\n key.bodyoffset: 228,\n key.bodylength: 79,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 227,\n key.length: 81,\n key.bodyoffset: 227,\n key.bodylength: 81,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.closure,\n key.offset: 227,\n key.length: 81,\n key.bodyoffset: 228,\n key.bodylength: 79,\n key.substructure: [\n {\n key.kind: source.lang.swift.stmt.brace,\n key.offset: 227,\n key.length: 81,\n key.bodyoffset: 228,\n key.bodylength: 79,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "Spacer",\n key.offset: 290,\n key.length: 8,\n key.nameoffset: 290,\n key.namelength: 6,\n key.bodyoffset: 297,\n key.bodylength: 0\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n },\n {\n key.kind: source.lang.swift.decl.var.instance,\n key.accessibility: source.lang.swift.accessibility.private,\n key.name: "profilePhoto",\n key.offset: 341,\n key.length: 280,\n key.typename: "some View",\n key.nameoffset: 345,\n key.namelength: 12,\n key.bodyoffset: 370,\n key.bodylength: 250,\n key.attributes: [\n {\n key.offset: 333,\n key.length: 7,\n key.attribute: source.decl.attribute.private\n },\n {\n key.offset: 320,\n key.length: 12,\n key.attribute: source.decl.attribute._custom\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "NavigationLink",\n key.offset: 379,\n key.length: 236,\n key.nameoffset: 379,\n key.namelength: 14,\n key.bodyoffset: 394,\n key.bodylength: 220,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.argument,\n key.name: "value",\n key.offset: 394,\n key.length: 38,\n key.nameoffset: 394,\n key.namelength: 5,\n key.bodyoffset: 401,\n key.bodylength: 31,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "PathLink.myProfile",\n key.offset: 401,\n key.length: 31,\n key.nameoffset: 401,\n key.namelength: 18,\n key.bodyoffset: 420,\n key.bodylength: 11,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 420,\n key.length: 11,\n key.bodyoffset: 420,\n key.bodylength: 11\n }\n ]\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 434,\n key.length: 181,\n key.bodyoffset: 434,\n key.bodylength: 181,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.closure,\n key.offset: 434,\n key.length: 181,\n key.bodyoffset: 435,\n key.bodylength: 179,\n key.substructure: [\n {\n key.kind: source.lang.swift.stmt.brace,\n key.offset: 434,\n key.length: 181,\n key.bodyoffset: 435,\n key.bodylength: 179,\n key.substructure: [\n {\n key.kind: source.lang.swift.stmt.if,\n key.offset: 448,\n key.length: 157,\n key.elements: [\n {\n key.kind: source.lang.swift.structure.elem.condition_expr,\n key.offset: 451,\n key.length: 42\n }\n ],\n key.substructure: [\n {\n key.kind: source.lang.swift.decl.var.local,\n key.name:' [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" ' "userProfile",\n key.offset: 455,\n key.length: 11,\n key.nameoffset: 455,\n key.namelength: 11\n },\n {\n key.kind: source.lang.swift.stmt.brace,\n key.offset: 494,\n key.length: 111,\n key.bodyoffset: 495,\n key.bodylength: 109,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "UserAvatar(user: userProfile)\n .frame",\n key.offset: 512,\n key.length: 79,\n key.nameoffset: 512,\n key.namelength: 56,\n key.bodyoffset: 569,\n key.bodylength: 21,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "UserAvatar",\n key.offset: 512,\n key.length: 29,\n key.nameoffset: 512,\n key.namelength: 10,\n key.bodyoffset: 523,\n key.bodylength: 17,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.argument,\n key.name: "user",\n key.offset: 523,\n key.length: 17,\n key.nameoffset: 523,\n key.namelength: 4,\n key.bodyoffset: 529,\n key.bodylength: 11\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.name: "width",\n key.offset: 569,\n key.length: 9,\n key.nameoffset: 569,\n key.namelength: 5,\n key.bodyoffset: 576,\n key.bodylength: 2\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.name: "height",\n key.offset: 580,\n key.length: 10,\n key.nameoffset: 580,\n key.namelength: 6,\n key.bodyoffset: 588,\n key.bodylength: 2\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n },\n {\n key.kind: source.lang.swift.decl.var.instance,\n key.accessibility: source.lang.swift.accessibility.private,\n key.name: "collegeName",\n key.offset: 652,\n key.length: 167,\n key.typename: "some View",\n key.nameoffset: 656,\n key.namelength: 11,\n key.bodyoffset: 680,\n key.bodylength: 138,\n key.attributes: [\n {\n key.offset: 644,\n key.length: 7,\n key.attribute: source.decl.attribute.private\n },\n {\n key.offset: 631,\n key.length: 12,\n key.attribute: source.decl.attribute._custom\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "Text(auth.currentUser.collegeName)\n .fontScoutsHand(size: 40, weight: .bold)\n .foregroundStyle",\n key.offset: 689,\n key.length: 124,\n key.nameoffset: 689,\n key.namelength: 116,\n key.bodyoffset: 806,\n key.bodylength: 6,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "Text(auth.currentUser.collegeName)\n .fontScoutsHand",\n key.offset: 689,\n key.length: 87,\n key.nameoffset: 689,\n key.namelength: 62,\n key.bodyoffset: 752,\n key.bodylength: 23,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "Text",\n key.offset: 689,\n key.length: 34,\n key.nameoffset: 689,\n key.namelength: 4,\n key.bodyoffset: 694,\n key.bodylength: 28,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 694,\n key.length: 28,\n key.bodyoffset: 694,\n key.bodylength: 28\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.name: "size",\n key.offset: 752,\n key.length: 8,\n key.nameoffset: 752,\n key.namelength: 4,\n key.bodyoffset: 758,\n key.bodylength: 2\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.name: "weight",\n key.offset: 762,\n key.length: 13,\n key.nameoffset: 762,\n key.namelength: 6,\n key.bodyoffset: 770,\n key.bodylength: 5\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 806,\n key.length: 6,\n key.bodyoffset: 806,\n key.bodylength: 6\n }\n ]\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 834,\n key.length: 153,\n key.bodyoffset: 834,\n key.bodylength: 153,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.closure,\n key.offset: 834,\n key.length: 153,\n key.bodyoffset: 835,\n key.bodylength: 151,\n key.substructure: [\n {\n key.kind: source.lang.swift.stmt.brace,\n key.offset: 834,\n key.length: 153,\n key.bodyoffset: 835,\n key.bodylength: 151,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "CollegeNameHeader()\n .environmentObject(AuthController.forSwiftUIPreviews)\n .environmentObject",\n key.offset: 840,\n key.length: 145,\n key.nameoffset: 840,\n key.namelength: 108,\n key.bodyoffset: 949,\n key.bodylength: 35,\n key.substructure: [\n {\n ' [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" ' key.kind: source.lang.swift.expr.call,\n key.name: "CollegeNameHeader()\n .environmentObject",\n key.offset: 840,\n key.length: 81,\n key.nameoffset: 840,\n key.namelength: 46,\n key.bodyoffset: 887,\n key.bodylength: 33,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "CollegeNameHeader",\n key.offset: 840,\n key.length: 19,\n key.nameoffset: 840,\n key.namelength: 17,\n key.bodyoffset: 858,\n key.bodylength: 0\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 887,\n key.length: 33,\n key.bodyoffset: 887,\n key.bodylength: 33\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 949,\n key.length: 35,\n key.bodyoffset: 949,\n key.bodylength: 35,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "HttpClient.initForSwiftuiPreviews",\n key.offset: 949,\n key.length: 35,\n key.nameoffset: 949,\n key.namelength: 33,\n key.bodyoffset: 983,\n key.bodylength: 0\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n[2024-03-11 22:59:45.609] {\n key.offset: 0,\n key.length: 988,\n key.diagnostic_stage: source.diagnostic.stage.swift.parse,\n key.syntaxmap: [\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 1,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 8,\n key.length: 7\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 16,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 23,\n key.length: 8\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 33,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 40,\n key.length: 17\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 59,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 71,\n key.length: 17\n },\n {\n key.kind: source.lang.swift.syntaxtype.attribute.builtin,\n key.offset: 89,\n key.length: 7\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 97,\n key.length: 3\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 101,\n key.length: 10\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 113,\n key.length: 10\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 129,\n key.length: 17\n },\n {\n key.kind: source.lang.swift.syntaxtype.attribute.builtin,\n key.offset: 147,\n key.length: 7\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 155,\n key.length: 3\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 159,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 165,\n key.length: 14\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 190,\n key.length: 3\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 194,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 200,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 205,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 220,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 241,\n key.length: 12\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 266,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 290,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 321,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.attribute.builtin,\n key.offset: 333,\n key.length: 7\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 341,\n key.length: 3\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 345,\n key.length: 12\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 359,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 364,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 379,\n key.length: 14\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 394,\n key.length: 5\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 401,\n key.length: 8\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 410,\n key.length: 9\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 421,\n key.length: 10\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 448,\n key.length: 2\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 451,\n key.length: 3\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 455,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 469,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 474,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 486,\n key.length: 7\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 512,\n key.length: 10\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 523,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 529,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 563,\n key.length: 5\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 569,\n key.length: 5\n },\n {\n key.kind: source.lang.swift.syntaxtype.number,\n key.offset: 576,\n key.length: 2\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 580,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.number,\n key.offset: 588,\n key.length: 2\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 632,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.attribute.builtin,\n key.offset: 644,\n key.length: 7\n },\n {\n key.kind: source.l' [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" 'ang.swift.syntaxtype.keyword,\n key.offset: 652,\n key.length: 3\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 656,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.keyword,\n key.offset: 669,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.typeidentifier,\n key.offset: 674,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 689,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 694,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 699,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 711,\n key.length: 11\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 737,\n key.length: 14\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 752,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.number,\n key.offset: 758,\n key.length: 2\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 762,\n key.length: 6\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 771,\n key.length: 4\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 790,\n key.length: 15\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 807,\n key.length: 5\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 826,\n key.length: 7\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 840,\n key.length: 17\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 869,\n key.length: 17\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 887,\n key.length: 14\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 902,\n key.length: 18\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 931,\n key.length: 17\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 949,\n key.length: 10\n },\n {\n key.kind: source.lang.swift.syntaxtype.identifier,\n key.offset: 960,\n key.length: 22\n }\n ],\n key.substructure: [\n {\n key.kind: source.lang.swift.decl.struct,\n key.accessibility: source.lang.swift.accessibility.internal,\n key.name: "CollegeNameHeader",\n key.offset: 33,\n key.length: 789,\n key.nameoffset: 40,\n key.namelength: 17,\n key.bodyoffset: 65,\n key.bodylength: 756,\n key.inheritedtypes: [\n {\n key.name: "View"\n }\n ],\n key.elements: [\n {\n key.kind: source.lang.swift.structure.elem.typeref,\n key.offset: 59,\n key.length: 4\n }\n ],\n key.substructure: [\n {\n key.kind: source.lang.swift.decl.var.instance,\n key.accessibility: source.lang.swift.accessibility.private,\n key.setter_accessibility: source.lang.swift.accessibility.private,\n key.name: "httpClient",\n key.offset: 97,\n key.length: 26,\n key.typename: "HttpClient",\n key.nameoffset: 101,\n key.namelength: 10,\n key.attributes: [\n {\n key.offset: 89,\n key.length: 7,\n key.attribute: source.decl.attribute.private\n },\n {\n key.offset: 70,\n key.length: 18,\n key.attribute: source.decl.attribute._custom\n }\n ]\n },\n {\n key.kind: source.lang.swift.decl.var.instance,\n key.accessibility: source.lang.swift.accessibility.private,\n key.setter_accessibility: source.lang.swift.accessibility.private,\n key.name: "auth",\n key.offset: 155,\n key.length: 24,\n key.typename: "AuthController",\n key.nameoffset: 159,\n key.namelength: 4,\n key.attributes: [\n {\n key.offset: 147,\n key.length: 7,\n key.attribute: source.decl.attribute.private\n },\n {\n key.offset: 128,\n key.length: 18,\n key.attribute: source.decl.attribute._custom\n }\n ]\n },\n {\n key.kind: source.lang.swift.decl.var.instance,\n key.accessibility: source.lang.swift.accessibility.internal,\n key.name: "body",\n key.offset: 190,\n key.length: 124,\n key.typename: "some View",\n key.nameoffset: 194,\n key.namelength: 4,\n key.bodyoffset: 211,\n key.bodylength: 102\n },\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "HStack",\n key.offset: 220,\n key.length: 88,\n key.nameoffset: 220,\n key.namelength: 6,\n key.bodyoffset: 228,\n key.bodylength: 79,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 227,\n key.length: 81,\n key.bodyoffset: 227,\n key.bodylength: 81,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.closure,\n key.offset: 227,\n key.length: 81,\n key.bodyoffset: 228,\n key.bodylength: 79,\n key.substructure: [\n {\n key.kind: source.lang.swift.stmt.brace,\n key.offset: 227,\n key.length: 81,\n key.bodyoffset: 228,\n key.bodylength: 79,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "Spacer",\n key.offset: 290,\n key.length: 8,\n key.nameoffset: 290,\n key.namelength: 6,\n key.bodyoffset: 297,\n key.bodylength: 0\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n },\n {\n key.kind: source.lang.swift.decl.var.instance,\n key.accessibility: source.lang.swift.accessibility.private,\n key.name: "profilePhoto",\n key.offset: 341,\n key.length: 280,\n key.typename: "some View",\n key.nameoffset: 345,\n key.namelength: 12,\n key.bodyoffset: 370,\n key.bodylength: 250,\n key.attributes: [\n {\n key.offset: 333,\n key.length: 7,\n key.attribute: source.decl.attribute.private\n },\n {\n key.offset: 320,\n key.length: 12,\n key.attribute: source.decl.attribute._custom\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "NavigationLink",\n key.offset: 379,\n key.length: 236,\n key.nameoffset: 379,\n key.namelength: 14,\n key.bodyoffset: 394,\n key.bodylength: 220,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.argument,\n key.name: "value",\n key.offset: 394,\n key.length: 38,\n key.nameoffset: 394,\n key.namelength: 5,\n key.bodyoffset: 401,\n key.bodylength: 31,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "PathLink.my' [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" 'Profile",\n key.offset: 401,\n key.length: 31,\n key.nameoffset: 401,\n key.namelength: 18,\n key.bodyoffset: 420,\n key.bodylength: 11,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 420,\n key.length: 11,\n key.bodyoffset: 420,\n key.bodylength: 11\n }\n ]\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 434,\n key.length: 181,\n key.bodyoffset: 434,\n key.bodylength: 181,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.closure,\n key.offset: 434,\n key.length: 181,\n key.bodyoffset: 435,\n key.bodylength: 179,\n key.substructure: [\n {\n key.kind: source.lang.swift.stmt.brace,\n key.offset: 434,\n key.length: 181,\n key.bodyoffset: 435,\n key.bodylength: 179,\n key.substructure: [\n {\n key.kind: source.lang.swift.stmt.if,\n key.offset: 448,\n key.length: 157,\n key.elements: [\n {\n key.kind: source.lang.swift.structure.elem.condition_expr,\n key.offset: 451,\n key.length: 42\n }\n ],\n key.substructure: [\n {\n key.kind: source.lang.swift.decl.var.local,\n key.name: "userProfile",\n key.offset: 455,\n key.length: 11,\n key.nameoffset: 455,\n key.namelength: 11\n },\n {\n key.kind: source.lang.swift.stmt.brace,\n key.offset: 494,\n key.length: 111,\n key.bodyoffset: 495,\n key.bodylength: 109,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "UserAvatar(user: userProfile)\n .frame",\n key.offset: 512,\n key.length: 79,\n key.nameoffset: 512,\n key.namelength: 56,\n key.bodyoffset: 569,\n key.bodylength: 21,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "UserAvatar",\n key.offset: 512,\n key.length: 29,\n key.nameoffset: 512,\n key.namelength: 10,\n key.bodyoffset: 523,\n key.bodylength: 17,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.argument,\n key.name: "user",\n key.offset: 523,\n key.length: 17,\n key.nameoffset: 523,\n key.namelength: 4,\n key.bodyoffset: 529,\n key.bodylength: 11\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.name: "width",\n key.offset: 569,\n key.length: 9,\n key.nameoffset: 569,\n key.namelength: 5,\n key.bodyoffset: 576,\n key.bodylength: 2\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.name: "height",\n key.offset: 580,\n key.length: 10,\n key.nameoffset: 580,\n key.namelength: 6,\n key.bodyoffset: 588,\n key.bodylength: 2\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n },\n {\n key.kind: source.lang.swift.decl.var.instance,\n key.accessibility: source.lang.swift.accessibility.private,\n key.name: "collegeName",\n key.offset: 652,\n key.length: 167,\n key.typename: "some View",\n key.nameoffset: 656,\n key.namelength: 11,\n key.bodyoffset: 680,\n key.bodylength: 138,\n key.attributes: [\n {\n key.offset: 644,\n key.length: 7,\n key.attribute: source.decl.attribute.private\n },\n {\n key.offset: 631,\n key.length: 12,\n key.attribute: source.decl.attribute._custom\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "Text(auth.currentUser.collegeName)\n .fontScoutsHand(size: 40, weight: .bold)\n .foregroundStyle",\n key.offset: 689,\n key.length: 124,\n key.nameoffset: 689,\n key.namelength: 116,\n key.bodyoffset: 806,\n key.bodylength: 6,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "Text(auth.currentUser.collegeName)\n .fontScoutsHand",\n key.offset: 689,\n key.length: 87,\n key.nameoffset: 689,\n key.namelength: 62,\n key.bodyoffset: 752,\n key.bodylength: 23,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "Text",\n key.offset: 689,\n key.length: 34,\n key.nameoffset: 689,\n key.namelength: 4,\n key.bodyoffset: 694,\n key.bodylength: 28,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 694,\n key.length: 28,\n key.bodyoffset: 694,\n key.bodylength: 28\n }\n ]\n },\n {\n key.kind: sour' [ERROR][2024-03-11 22:59:45] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" 'ce.lang.swift.expr.argument,\n key.name: "size",\n key.offset: 752,\n key.length: 8,\n key.nameoffset: 752,\n key.namelength: 4,\n key.bodyoffset: 758,\n key.bodylength: 2\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.name: "weight",\n key.offset: 762,\n key.length: 13,\n key.nameoffset: 762,\n key.namelength: 6,\n key.bodyoffset: 770,\n key.bodylength: 5\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 806,\n key.length: 6,\n key.bodyoffset: 806,\n key.bodylength: 6\n }\n ]\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 834,\n key.length: 153,\n key.bodyoffset: 834,\n key.bodylength: 153,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.closure,\n key.offset: 834,\n key.length: 153,\n key.bodyoffset: 835,\n key.bodylength: 151,\n key.substructure: [\n {\n key.kind: source.lang.swift.stmt.brace,\n key.offset: 834,\n key.length: 153,\n key.bodyoffset: 835,\n key.bodylength: 151,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "CollegeNameHeader()\n .environmentObject(AuthController.forSwiftUIPreviews)\n .environmentObject",\n key.offset: 840,\n key.length: 145,\n key.nameoffset: 840,\n key.namelength: 108,\n key.bodyoffset: 949,\n key.bodylength: 35,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "CollegeNameHeader()\n .environmentObject",\n key.offset: 840,\n key.length: 81,\n key.nameoffset: 840,\n key.namelength: 46,\n key.bodyoffset: 887,\n key.bodylength: 33,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "CollegeNameHeader",\n key.offset: 840,\n key.length: 19,\n key.nameoffset: 840,\n key.namelength: 17,\n key.bodyoffset: 858,\n key.bodylength: 0\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 887,\n key.length: 33,\n key.bodyoffset: 887,\n key.bodylength: 33\n }\n ]\n },\n {\n key.kind: source.lang.swift.expr.argument,\n key.offset: 949,\n key.length: 35,\n key.bodyoffset: 949,\n key.bodylength: 35,\n key.substructure: [\n {\n key.kind: source.lang.swift.expr.call,\n key.name: "HttpClient.initForSwiftuiPreviews",\n key.offset: 949,\n key.length: 35,\n key.nameoffset: 949,\n key.namelength: 33,\n key.bodyoffset: 983,\n key.bodylength: 0\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n }\n ]\n}\n[2024-03-11 22:59:45.611] SourceKitServer: Notification<textDocument/publishDiagnostics>(\n clientID: ObjectIdentifier(0x00006000038363c0),\n params: PublishDiagnosticsNotification(uri: LanguageServerProtocol.DocumentURI(storage: file:///Users/joel/code/classmate/ios/Classmate/Classmate/Views/Homescreen/CollegeNameHeader.swift), version: Optional(0), diagnostics: [])\n)\n[2024-03-11 22:59:45.611] updateSyntaxTree(for:with:) took 0.40 ms to execute\n'

SolaWing commented 8 months ago

@joeldrotleff this log seems not complete. as least it doesn't contains xcode-build-server's log.

joeldrotleff commented 8 months ago

@SolaWing Ah you mean what it prints when I run Xcode-build-server from command line? Ok that's:

xcode-build-server config -project *.xcodeproj -scheme "Classmate Dev"
2024-03-12 08:34:41.106 xcodebuild[40825:752906]  DVTProvisioningProfileManager: Failed to load profile "/Users/joel/Library/MobileDevice/Provisioning Profiles/4DQ648JWVG" (Error Domain=DVTProvisioningProfileSourceErrorDomain Code=0 "No provisioning profile provider found for profile "/Users/joel/Library/MobileDevice/Provisioning Profiles/4DQ648JWVG"." UserInfo={NSLocalizedDescription=No provisioning profile provider found for profile "/Users/joel/Library/MobileDevice/Provisioning Profiles/4DQ648JWVG".})
2024-03-12 08:34:41.621 xcodebuild[40825:752927]  DVTPlugInQuery: Requested but did not find extension point with identifier 'Xcode.InterfaceBuilderBuildSupport.PlatformDefinition'. This is programmer error; code should only request extension points that are defined by itself or its dependencies.
find root: /Users/joel/Library/Developer/Xcode/DerivedData/Classmate-airajjsuipitpxamfrvcnvhvhqpv
updated buildServer.json

And then buildServer.json is:

{
    "name": "xcode build server",
    "version": "0.2",
    "bspVersion": "2.0",
    "languages": [
        "c",
        "cpp",
        "objective-c",
        "objective-cpp",
        "swift"
    ],
    "argv": [
        "/usr/local/bin/xcode-build-server"
    ],
    "workspace": "/Users/joel/code/classmate/ios/Classmate/Classmate.xcodeproj/project.xcworkspace",
    "build_root": "/Users/joel/Library/Developer/Xcode/DerivedData/Classmate-airajjsuipitpxamfrvcnvhvhqpv",
    "scheme": "Classmate Dev",
    "kind": "xcode"
}
SolaWing commented 8 months ago

I mean xcode-build-server log from bsp output. eg:

INFO:server:Xcode Build Server Startup
INFO:server:use flags from /Users/anton/Library/Caches/xcode-build-server/-Users-anton-Projects

may be redirected by xcodebuild.nvim

Antonz0 commented 8 months ago

@Antonz0 I have tested on xcode 15.3, and found it emit cpp compile command in a resp file and need to expand it. I have fixed it in newest head, try it to check if it fixes your problem

Much thanks for it, I will check it tomorrow. Sorry for delays on my side - I was very busy with my main job and didn't had time for that.

wojciech-kulik commented 8 months ago

may be redirected by xcodebuild.nvim

The plugin only calls xcode-build-server config whenever scheme changes, nothing else, so it shouldn't affect logs.

Antonz0 commented 8 months ago

 @SolaWing just checked last HEAD with my project - it works perfectly, all build flags are now expanded in the log and no errors are outlined over files anymore. 🙇

joeldrotleff commented 8 months ago

@SolaWing Ah ok I downloaded the latest build and tried again with Xcode 15.3 and it seems to be working fine now.

Thanks so much for the fix!

joeldrotleff commented 8 months ago

@SolaWing Ah unfortunately it seems to be having issues again. I have Xcode 15.3 installed (and using 15.3 Xcode tools), deleted derived data, restarted machine, ran build in Xcode...and now I'm seeing LSP not working at all and getting this error in logs:

[ERROR][2024-03-15 15:18:15] .../vim/lsp/rpc.lua:734 "rpc" "/usr/local/bin/sourcekit-lsp" "stderr" '[2024-03-15 15:18:15.996] cursor info failed DocumentURI(storage: file:///Users/joel/code/classmate/ios/Classmate/Classmate/Views/Messaging/MessagesList.swift):9:54: ResponseError(code: LanguageServerProtocol.ErrorCode(rawValue: -32001), message: "sourcekitd request failed: error response (Request Failed): Loading the standard library failed")\n'

Antonz0 commented 8 months ago

@joeldrotleff It probably be better to open separate issue ticket for this, as it looks very different from what I had.