Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sweetpad issue: No schemes #53

Open
oguzkr opened this issue Oct 19, 2024 · 1 comment
Open

Sweetpad issue: No schemes #53

oguzkr opened this issue Oct 19, 2024 · 1 comment

Comments

@oguzkr
Copy link

oguzkr commented Oct 19, 2024

Please describe your issue here.

Last logs:

{
  "message": "Sentry setup",
  "level": 1,
  "time": "2024-10-19T07:42:09.923Z",
  "sentryDsn": "https://5f6c5f5f15492a077f6bac254c6d8461@o325723.ingest.us.sentry.io/4507950563328000",
  "sentryIsEnabled": false,
  "sentryIsClientIsInitialized": true
}
{
  "message": "Failed to get schemes",
  "level": 3,
  "time": "2024-10-19T07:42:09.939Z",
  "stackTrace": "Error: Error executing \"xcodebuild\" command\n    at /Users/oguz/.vscode/extensions/sweetpad.sweetpad-0.1.37/out/extension.js:233:5783\n    at Generator.throw (<anonymous>)\n    at s (/Users/oguz/.vscode/extensions/sweetpad.sweetpad-0.1.37/out/extension.js:1:1394)\n    at processTicksAndRejections (node:internal/process/task_queues:95:5)",
  "error": {
    "options": {
      "context": {
        "errorMessage": "Command failed with exit code 1: xcodebuild -list -json -workspace /Users/oguz/Documents/GitHub/iRead/iRead.xcodeproj/project.xcworkspace",
        "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",
          "-workspace",
          "/Users/oguz/Documents/GitHub/iRead/iRead.xcodeproj/project.xcworkspace"
        ],
        "cwd": "/Users/oguz/Documents/GitHub/iRead"
      }
    }
  }
}
@hyzyla
Copy link
Collaborator

hyzyla commented Oct 19, 2024

Hello! Thanks for reporting the problem. The extension relying on xcodebuild cli tool. You probably need to install Xcode, or switch to active directory sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer. Also you can use xcode-select --print-path to check path to active xcode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants