sweetpad-dev / sweetpad

Develop Swift/iOS projects using VSCode
https://marketplace.visualstudio.com/items?itemName=sweetpad.sweetpad
MIT License
117 stars 3 forks source link

Sweetpad issue: No schemes #3

Closed bonapark00 closed 1 month ago

bonapark00 commented 3 months ago

Please describe your issue here.

Last logs:

{
  "message": "Failed to get schemes",
  "type": "error",
  "time": "2024-03-25T07:18:59.841Z",
  "error": {
    "context": {
      "errorMessage": "Command failed with exit code 1: xcodebuild -list -json",
      "stderr": "xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance",
      "command": "xcodebuild",
      "args": [
        "-list",
        "-json"
      ],
      "cwd": "/Users/bona/Documents/Github/nerf-benchmark-mac-v2"
    }
  }
}
hyzyla commented 3 months ago

Hello 👋

Seems like you need to install Xcode. Currently, SweetPad extension is heavily dependant on Xcode, so in order to use it you need to install Xcode

You can try this solution https://stackoverflow.com/a/17980786