I've been beating my head against the desk all day trying to fix this!!!
I have tried the suggested
xcode-select -switch /path/to/xcode/ as suggested here but it still gives me this error!
I have now completely removed XCode 4.4 and the command line tools as well, and running the
xcrun still gives me this error!
Even installing a new copy of Xcode and the command line tools produces this error!!
Result of commands.
Community♦
DavidDavid
77611 gold badge1212 silver badges2424 bronze badges
7 Answersxcode-select is the answer. You are either pointing at the wrong path or you are not doing it as a root user. Try this in Terminal:
and then type your password.
If
override the DEVELOPER_DIR environment variable instead:
Optional: you can make this persist between login sessions by editing your .bash_profile file.
If neither solution works, post your error message.
Aaron BragerAaron Brager
55.1k1515 gold badges121121 silver badges233233 bronze badges
The problem is that
/usr/share/xcode-select/xcode_dir_link points to an old folder,and doesn't updates when command
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer/ is executed.
Solution: delete this link and create it manually.
ShmidtShmidt
11k1616 gold badges7474 silver badges123123 bronze badges
This worked for me:
8,95144 gold badges4747 silver badges7272 bronze badges
kombusterkombuster
Solutions above didn't help me.Removing old system links helped me. It is described here: Error: Can't run /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/ibtool (no such file)
Community♦
Git Missing XcrunMr_VlasovMr_Vlasov
31111 gold badge55 silver badges1717 bronze badges
I'd the same error on 10.9. I didn't had XCode installed on my system and I manually updated the XCode command line tools. After that following command fixed the error for me:
TBATBA
I've seen this with only mac systems since it considers running few commands such as
gcc git as system level commands and part of command line developer tools .
I had faced this after uninstalling
xcode . So the solution is to either install xcode which comes pre packed with the tools or just install the tools by running xcode-select --install .
Refs http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/
Chinmaya PatiChinmaya Pati
The solution that finally worked was by reinstalling 10.8, reinstalling Xcode, and then reinstalling the command line tools.
DavidDavid
77611 gold badge1212 silver badges2424 bronze badges
Not the answer you're looking for? Browse other questions tagged xcode4.4 or ask your own question.
Posted by2 years ago
Archived
There's plenty of StackOverflow articles on this issue telling me to do things like:
or
or
I've also gone into the Xcode UI preferences and made sure that it's pointing at /Applications/Xcode.app.
None of those works; every time I try to do a git pull, it keeps looking in /Library/Developer/CommandLineTools despite xcode-select -p reporting the correct new address.
One weird data point is that the only location I've got xcrun installed on the system is in /usr/bin. It's not in either /Applications/Xcode.app/Contents/Developer/usr/bin or /Library/Developer/CommandLineTools/usr/bin. I even tried sticking a copy of /usr/bin/xcrun into /Library/Developer/CommandLineTools/usr/bin but when I do git pull it still claims there isn't an xcrun in there. :P
update: Tried a reboot, I am still in the same situation with xcode-select -p reporting one directory while the error message says something else. Artcam how to delete spikes on computer.
update 2: explicitly setting DEVELOPER_DIR also doesn't seem to affect anything.
update 3: same error if I use /usr/bin/git (git version 2.11.0 (Apple Git-81)) or /usr/local/bin/git (git version 2.13.0)
update 4: I completely uninstalled homebrew and I continue to have this issue.
update 5: Downloaded CLI Tools for Xcode 8.3.2 from developer.apple.com, did a fresh install if them, and still no dice.
update 6: Fresh reinstall of Xcode and the Xcode developer tools. Same situation. I could tell that it made an impact because partway through I was getting a different error:
Hello, Forum!I joined up last night just to help here! How to join the thieves guild in oblivion movie.
But once I installed the developer tools it went back to the same error. Here's something really odd:
update 7: It seems to be something very specific with this repo. Other ones work ok. I tried wiping and re-cloning and it gets into this really strange state:
1 comment
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |