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

Unable to install #2

Open
MaartenBorsje opened this issue Jun 2, 2023 · 1 comment
Open

Unable to install #2

MaartenBorsje opened this issue Jun 2, 2023 · 1 comment

Comments

@MaartenBorsje
Copy link

xcparse is unable to install via homebrew by using the command brew install chargepoint/xcparse/xcparse on a M1 Pro MacBook.

==> Fetching chargepoint/xcparse/xcparse
==> Cloning https://github.com/ChargePoint/xcparse.git
Updating /Users/maartenborsje/Library/Caches/Homebrew/xcparse--git
==> Checking out tag 2.3.1
HEAD is now at 5ec5931 Merge pull request #76 from ChargePoint/revert-makefile
HEAD is now at 5ec5931 Merge pull request #76 from ChargePoint/revert-makefile
==> Installing xcparse from chargepoint/xcparse
==> make install prefix=/opt/homebrew/Cellar/xcparse/2.3.1
Last 15 lines from /Users/userName/Library/Logs/Homebrew/xcparse/01.make:
2023-06-02 09:11:40 +0000

make
install
prefix=/opt/homebrew/Cellar/xcparse/2.3.1

swift build -c release --disable-sandbox
error: terminated(1): /usr/bin/xcrun --sdk macosx --show-sdk-platform-path output:
    xcrun: error: unable to lookup item 'PlatformPath' from command line tools installation
    xcrun: error: unable to lookup item 'PlatformPath' in SDK '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk'
    
make: *** [build] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/homebrew-core):
  https://github.com/chargepoint/homebrew-xcparse/issues


@piotrzuzel
Copy link

@MaartenBorsje I had the same issue which apparently was related to incorrect path to command line tools. Make sure you have set a proper Xcode path for them. You should see following result when running xcode-select -s:

$ xcode-select -p
/Applications/Xcode.app/Contents/Developer

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