"No Xcode selected" is shown when one IS selected

I'm trying to track down why an external tool is claiming that Xcode isn't installed, despite it being installed (and used daily) in its default location.

A visit to Xcode's Settings/Locations page shows a version selected for command-line tools, but underneath it says "No Xcode Selected."

Why?

Well, that’s weird. Before you do anything to try to fix this I’d appreciate you filing a bug about it. Make sure to read Xcode Sysdiagnose on our Bug Reporting > Profiles and Logs.

Please post your bug number, just for the record.

As to how you might fix this, let’s start with something simple. What does xcode-select think is selected?

% xcode-select -p
/Applications/Xcode.app/Contents/Developer

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thanks for the reply. I did submit a bug report with associated files: FB16433363

I needed to proceed, so I ended up doing

xcode-select -r

After that, the caption showed

/Applications/Xcode

Written by Stoked in 823990022
I did submit a bug report … FB16433363

Thanks for that.

Written by Stoked in 823990022
I needed to proceed, so I ended up doing …

Fair enough. And, just to be clear, that fixed the problem?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

It did.

"No Xcode selected" is shown when one IS selected
 
 
Q