My app archive is created successfully, but Crashlytics fails to upload it for testing, and provides the following messages:
Unable to find 'codesign' tool via xcrun
Make sure that command line developer tools are installed and that `xcode-select`
is pointing to a valid developer directory.
Command line tools are installed. XCode->Preferences->Locations is pointing to XCode 6.3 tools.
xcode-select -p
displays /Applications/Xcode-6.3.app/Contents/Developer
, which is a valid developer directory.
Any ideas? Crashlytics guys, are you out there?
The command line tools are pointing to an incomplete SDK, rather than the one you installed with Xcode. Install Xcode from the Apple App Store. Install the command line tools with xcode-select --install. This might do nothing on your machine. If xcode-select --print-path prints /Library/Developer/CommandLineTools …
What I suggest is to uninstall the command line tools (CLT) and re-install them the official way. xcode-select: error: unable to get active developer directory, use `sudo xcode-select --switch path/to/Xcode.app` to set one (or see `man xcode-select`)
Xcode is required for the complete macOS SDK (specifically the tools for compiling Metal shaders). The command line tools are required to use the SDK without opening the Xcode app. You might have installed the command line tools before installing Xcode. For instance, you might have set up Homebrew first.
/Applications/Xcode.app is your Xcode.app path. Show activity on this post. with /Applications/Xcode.app is your Xcode.app path. Not the answer you're looking for?
Just run sudo xcrun --find codesign
from the termimal and accept the licenses.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With