Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Crashlytics and XCode 6.3 - unable to find 'codesign' tool via xcrun [duplicate]

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?

like image 748
shmim Avatar asked Apr 16 '15 17:04

shmim


People also ask

Why can’t I install Xcode on my Mac?

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 …

How to fix Xcode-select unable to get active developer Directory?

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`)

Do I need to install Xcode to use the SDK?

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.

What is the path to Xcode app?

/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?


1 Answers

Just run sudo xcrun --find codesign from the termimal and accept the licenses.

like image 101
Sebastian Boldt Avatar answered Nov 11 '22 07:11

Sebastian Boldt