Build on macOS fails when Xcode at non-standard path #31831
Unanswered
humblehacker
asked this question in
General Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm attempting to build zed from source, and I'm getting a number of failures that look like this:
Notice that it's expecting to find Xcode in the usual
/Applications/Xcode.app
path. However, I've usually got multiple versions of Xcode installed and I always rename them e.gXcode-16.4.app
- there is noXcode.app
on my machine.For reference, on my machine currently:
xcode-select -p
/Applications/Xcode-16.4.app/Contents/Developer
xcrun --show-sdk-platform-path
/Applications/Xcode-16.4.app/Contents/Developer/Platforms/MacOSX.platform
xcrun --show-sdk-path
/Applications/Xcode-16.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
I've even tried setting
DEVELOPER_DIR
before runningcargo run
, but that didn't help.Can anyone help me track this down? I've done quite a bit of searching but I don't know enough about the rust build system to know where to look.
Beta Was this translation helpful? Give feedback.
All reactions