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

missing DEVELOPER_DIR path: /Applications/Xcode.app/Contents/Developer #533

Open
JMoserCricut opened this issue Feb 28, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@JMoserCricut
Copy link

Describe the bug
Running on self hosted mac runners we get the error:
xcrun: error: missing DEVELOPER_DIR path: /Applications/Xcode.app/Contents/Developer
This is due to the default for installing latest xcode to not create a symlink

Could be nice to get the DEVELOPER_DIR set to the output from xcode-select -p

Workflow configuration (please complete the following information):

  • Action version (uses): swift-actions/setup-swift@v1
  • Platform (runs-on): macos self hosted
  • Swift version (swift-version): 5.7
@JMoserCricut JMoserCricut added the bug Something isn't working label Feb 28, 2023
@robinmo
Copy link

robinmo commented Jan 8, 2024

write the env variable DEVELOPER_DIR into ~/.bash_profile
for example

export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants