Tech Tip: MacOS xcrun error when signing app
PRODUCT: 4D | VERSION: 18 | PLATFORM: Mac & Win
Published On: June 14, 2021
When signing a 4D app, you may or may not have come across an xcrun error related to an invalid active developer path as shown below:
In this case, this error often means that the Xcode Command Line Tools is not installed or is on an outdated version. To address the error, simply run the command line below to re-register the Xcode toolkit and upgrade to the latest version.
If the error still occurs, you can try forcibly resetting it.
| xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun |
In this case, this error often means that the Xcode Command Line Tools is not installed or is on an outdated version. To address the error, simply run the command line below to re-register the Xcode toolkit and upgrade to the latest version.
| xcode-select --install |
If the error still occurs, you can try forcibly resetting it.
| sudo xcode-select --reset |