[GH-ISSUE #702] [Bug]: Command line tools installation failed but mac detects the command line tools. #338

Closed
opened 2026-03-03 18:57:03 +03:00 by kerem · 5 comments
Owner

Originally created by @ThisIsHimaksh on GitHub (Jan 15, 2023).
Original GitHub issue: https://github.com/PlayCover/PlayCover/issues/702

Describe the bug

I tried installing playcover but it said installation failed. But on opening terminal and writing xcode-select --install tells me that the command line tools are already installed.

Steps to reproduce

  • Install playcover like usual
  • Command line installation failed
  • Open terminal
  • type xcode-select --install

Expected behaviour

Command line tools should not be there if installation was failed. Also installation should be succesful.

Crash log

No response

What version of PlayCover are you using?

Playcover 2.0.2

What version of macOS are you using?

Ventura (macOS 13)

Issue Language

  • Yes my issue is written in English
Originally created by @ThisIsHimaksh on GitHub (Jan 15, 2023). Original GitHub issue: https://github.com/PlayCover/PlayCover/issues/702 ### Describe the bug I tried installing playcover but it said installation failed. But on opening terminal and writing xcode-select --install tells me that the command line tools are already installed. ### Steps to reproduce <ul> <li> Install playcover like usual </li> <li> Command line installation failed </li> <li> Open terminal </li> <li> type xcode-select --install </li> </ul> ### Expected behaviour Command line tools should not be there if installation was failed. Also installation should be succesful. ### Crash log _No response_ ### What version of PlayCover are you using? Playcover 2.0.2 ### What version of macOS are you using? Ventura (macOS 13) ### Issue Language - [X] Yes my issue is written in English
kerem 2026-03-03 18:57:03 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@tiagoaosilveira commented on GitHub (Jan 15, 2023):

same here, PlayCover doesn't detect my xcode-select at all even though it's there. Tried removing and reinstalling both PlayCover and XCode terminal tools but it just doesn't work

<!-- gh-comment-id:1383129408 --> @tiagoaosilveira commented on GitHub (Jan 15, 2023): same here, PlayCover doesn't detect my xcode-select at all even though it's there. Tried removing and reinstalling both PlayCover and XCode terminal tools but it just doesn't work
Author
Owner

@ohaiibuzzle commented on GitHub (Jan 15, 2023):

Can you check the output of $(xcode-select -p)/usr/bin/notarytool in the Terminal?

<!-- gh-comment-id:1383222883 --> @ohaiibuzzle commented on GitHub (Jan 15, 2023): Can you check the output of `$(xcode-select -p)/usr/bin/notarytool` in the Terminal?
Author
Owner

@tiagoaosilveira commented on GitHub (Jan 15, 2023):

@ohaiibuzzle

tiago@Tiagos-MacBook-Pro Codes % $(xcode-select -p)/usr/bin/notarytool
OVERVIEW: Manage submissions to the Apple notary service

USAGE: notarytool <subcommand>

OPTIONS:
  --version               Show the version.
  -h, --help              Show help information.

SUBCOMMANDS:
  store-credentials       Save Notary service credentials to the Keychain. Leave credential options not specified for interactive prompts.
  submit                  Submit an archive to the Notary service
  info                    Get status information for a submission
  wait                    Wait for completion of a previous submission
  history                 Get a list of previous submissions for your team
  log                     Retrieve notarization log for a single completed submission

  See 'notarytool help <subcommand>' for detailed help.
<!-- gh-comment-id:1383229793 --> @tiagoaosilveira commented on GitHub (Jan 15, 2023): @ohaiibuzzle ``` tiago@Tiagos-MacBook-Pro Codes % $(xcode-select -p)/usr/bin/notarytool OVERVIEW: Manage submissions to the Apple notary service USAGE: notarytool <subcommand> OPTIONS: --version Show the version. -h, --help Show help information. SUBCOMMANDS: store-credentials Save Notary service credentials to the Keychain. Leave credential options not specified for interactive prompts. submit Submit an archive to the Notary service info Get status information for a submission wait Wait for completion of a previous submission history Get a list of previous submissions for your team log Retrieve notarization log for a single completed submission See 'notarytool help <subcommand>' for detailed help. ```
Author
Owner

@tiagoaosilveira commented on GitHub (Jan 15, 2023):

oh wow, this is embarrassing but I've managed to fix this...

  • tried to run PlayCover directly from terminal and got the xcode-select command not found error
  • noticed that PlayCover actually runs zsh before issuing the code
  • when I tried zsh command, it gave me multiple errors of not finding stuff (locale, direnv, etc)
  • then I checked my terminal rc files (~/.zprofile, ~/.zshenv, ~/.zshrc) and one of them was exporting PATH incorrectly (basically overriding the correct PATH)
  • fixing the PATH inside of ~/.zshenv did the trick for me :)
<!-- gh-comment-id:1383264993 --> @tiagoaosilveira commented on GitHub (Jan 15, 2023): oh wow, this is embarrassing but I've managed to fix this... - tried to run PlayCover directly from terminal and got the `xcode-select command not found error` - noticed that PlayCover actually runs `zsh` before issuing the code - when I tried `zsh` command, it gave me multiple errors of not finding stuff (locale, direnv, etc) - then I checked my terminal rc files (~/.zprofile, ~/.zshenv, ~/.zshrc) and one of them was exporting PATH incorrectly (basically overriding the correct PATH) - fixing the PATH inside of `~/.zshenv` did the trick for me :)
Author
Owner

@zanderp25 commented on GitHub (Jan 16, 2023):

Weird. I don't think it should be depending on that.

<!-- gh-comment-id:1383329791 --> @zanderp25 commented on GitHub (Jan 16, 2023): Weird. I don't think it should be depending on that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/PlayCover#338
No description provided.