setup-swift
setup-swift copied to clipboard
missing DEVELOPER_DIR path: /Applications/Xcode.app/Contents/Developer
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
write the env variable DEVELOPER_DIR into ~/.bash_profile for example
export DEVELOPER_DIR="/Applications/XCode.app/Contents/Developer"