Trouble with command line tools

M A markoilcan at gmail.com
Mon Aug 31 18:21:13 UTC 2026


This led to a solution! I didn't delete
/Library/Developer/PrivateFrameworks/CoreDevice.framework, but in the
reddit thread someone mentioned executing "sudo xcodebuild
-runFirstLaunch". This resulted in the downloading and installing of some
things and now "make" and other build commands work fine. Macport builds
are again proceeding without problem. Even Xcode will successfully launch.
I don't know why so many things built just fine, and then suddenly stopped,
but at least they're working now. Thanks for the suggestion!

On Mon, Aug 31, 2026 at 12:38 AM Ryan Carsten Schmidt <
ryandesign at macports.org> wrote:

> On Aug 30, 2026, at 22:12, M A wrote:
> >
> > After upgrading the OS, software-update upgraded the command line tools.
> The pkgutil command gives this as the version: 26.6.0.0.1781586589. I have
> agreed to the Xcode license (via the command line). I don't know why, but I
> can't open Xcode. When I try, it crashes immediately. I did download the
> Tahoe intel version from the Developer site, but Xcode still won't open.
> >
> > In any case, the command line tools were working because I built many
> ports successfully before this started happening. In particular, I can see
> from the verbose output that 'make' was working during those builds. Now,
> 'make' gives the error, even after trying to reinstall the command line
> tools (the dialog pop-up offers to install them, and I click the button to
> do it).
>
> Ok, the other suggestion I found was to delete
> /Library/Developer/PrivateFrameworks/CoreDevice.framework
>
>
> https://www.reddit.com/r/Xcode/comments/1ve5uea/xcode_266_crashes_on_launch_tahoe_266/
>
> However, I also found that removing this framework might prevent you from
> using the Xcode simulator, if that's important to you.
>
> I also found that if you need that framework back, you can reinstall it
> with:
>
> open
> /Applications/Xcode.app/Contents/Resources/Packages/XcodeSystemResources.pkg
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20260831/6c018851/attachment.htm>


More information about the macports-users mailing list