Re: Could not build module 'Darwin'
Re: Could not build module 'Darwin'
- Subject: Re: Could not build module 'Darwin'
- From: Carl Hoefs <email@hidden>
- Date: Wed, 07 Dec 2016 14:41:40 -0700
> On Dec 7, 2016, at 2:29 PM, Wim Lewis <email@hidden> wrote:
>
>
> On Dec 7, 2016, at 12:05 PM, Jens Alfke <email@hidden> wrote:
>> On Dec 7, 2016, at 11:34 AM, Carl Hoefs <email@hidden> wrote:
>>> Is the 'solution' to reinstall Xcode? Or perhaps just the iOS SDKs? Did some Xcode build setting get hosed?
>>
>> There’s no point in reinstalling Xcode since the entire application bundle (including the SDKs) is read-only.
>
> If you install from developer.apple.com, rather than going through the app store, you can end up with Xcode.app being owned by you. As it happens, all the system headers inside the SDK inside Xcode are read-write, and it's possible to have a system header open, accidentally hit a key, and corrupt your header without realizing it. The results are much as Carl Hoefs describes them.
Yes, indeed, that was my case! I've now chowned the entire Xcode.app tree to be root:wheel. (Too bad that won't also protect against cosmis rays...!)
Thx,
-Carl
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden