SolaWing / xcode-build-server

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

buildServer.json is not updated if the path to xcode build server is changed #42

Closed fireplusteam closed 2 months ago

fireplusteam commented 2 months ago

Hi, just noticed the following issue (copied xcode-build-server to different locations and ran)

  1. run "path_1/xcode-build-server" config -scheme "SOME_SCHEME" -workspace "some_workspace.xcworkspace"
  2. buildServer.json is generated with
    "argv": [
        "path1/xcode-build-server"
    ]
  3. run "path_2/xcode-build-server" config -scheme "SOME_SCHEME" -workspace "some_workspace.xcworkspace" buildServer.json still has
    "argv": [
        "path1/xcode-build-server"
    ]

Expected is:

    "argv": [
        "path2/xcode-build-server"
    ]
SolaWing commented 2 months ago

newest head already fix this problem. though haven’t a new release version