Open Hans-han opened 1 year ago
I was able to resolve by sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
In order to switch to Xcode.app, you obviously have to install the Xcode, not just Xcode command line. Stupid me!
Installing Xcode from the App Store fixes the problem. Thanks for sharing!
Installing Xcode from the App Store fixes the problem. Thanks for sharing!
install xcode, and open xcode bin foulder
open these path make sure can find
coreml
in
/Applications/Xcode.app/Contents/Developer/usr/bin
path
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
I found that despite having XCode installed, refusing to reinstall, and with nothing to update from the App Store, I still needed this additional trick before the xcrun: error: coremlc not a developer tool or in PATH disappeared and everything worked when I ran ./models/generate-coreml-model.sh base.en
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
I found that despite having XCode installed, refusing to reinstall, and with nothing to update from the App Store, I still needed this additional trick before the xcrun: error: coremlc not a developer tool or in PATH disappeared and everything worked when I ran
./models/generate-coreml-model.sh base.en
Would this cause any problem in the future with Xcode?
Would this cause any problem in the future with Xcode?
I instead ran sudo xcode-select -r
to reset to the default command line tools path. Afterward I ran xcode-select -p
and found that the path had been reset to /Applications/Xcode.app/Contents/Developer
when it was previously /Library/Developer/CommandLineTools
I was able to resolve by sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
If you have installed Xcode Beta it's
sudo xcode-select --switch /Applications/Xcode-beta.app/Contents/Developer
I cloned the code to local and get cormel-small downloaded but failed to make it
I get this error :
unable to find utility "coremlc", not a developer tool or in PATH
when I run./models/generate-coreml-model.sh small
I have Xcode command line tools installed.
Maybe it's the path issue. But I don't know how to fix it