XCode 4.3

James Berry jberry at macports.org
Fri Feb 17 15:05:51 PST 2012


On Feb 17, 2012, at 3:02 PM, Dan Ports wrote:

> On Fri, Feb 17, 2012 at 02:53:13PM -0800, James Berry wrote:
>> - Was Xcode 4.3 installed at that point?
>> 
>> - Had Xcode been run after the install? (In other words, had you agreed to the license?)
> 
> Yes, I had installed Xcode 4.3, launched it, accepted its offer to
> remove the 4.2 installation, and installed the command-line tools.
> 
>> - I'm particularly intrigued by "xcodebuild exists but failed to execute".  Is that a symptom of it trying to get you to agree to the license?
>> 
>> - What would "xcodebuild -version" and "xcode-select -print-path" have returned at that point?
> 
> I don't think so. I didn't try xcode-select -print-path, but I did try
> xcodebuild and xcrun and in both cases got:
>  Error: No developer directory found at /Developer. Run
>  /usr/bin/xcode-select to update the developer directory path.
> ...so presumably the developer directory path was set to /Developer.

It would be interesting to know what xcode-select -print-path returns at this point.

>> The other messages imply that (a) xcodeselect -print-path failed to return anything valid, and (b) that mdfind didn't find the Xcode binary anywhere, and (c) that there was no Xcode at /Developer. The fact that the messages are duplicated several times is due to the way in which those messages are hooked in. While it's not ideal, too many messages is better than none at all!
> 
> Yes, I also tried the mdfind command in the shell and it didn't seem to
> return anything either.

What Mac OS X version is this on? 

What does the following return?

	mdls /Applications/Xcode.app

James


More information about the macports-dev mailing list