Re: Major Xcode irritation
Re: Major Xcode irritation
- Subject: Re: Major Xcode irritation
- From: Jean-Daniel Dupas <email@hidden>
- Date: Mon, 12 Aug 2013 22:32:58 +0200
Le 12 août 2013 à 22:22, Kyle Sluder <email@hidden> a écrit :
> On Mon, Aug 12, 2013, at 01:11 PM, Jens Alfke wrote:
>>
>> On Aug 12, 2013, at 12:31 PM, Graham Cox <email@hidden> wrote:
>>
>>> XCode then refuses to build because the header file mod date no longer matches what was used when the precompiled headers were built.
>>
>> Really?! Precompiled headers are automatically regenerated if any of the
>> headers have been touched. There shouldn’t be any error. What’s the exact
>> error?
>
> Not in this case, I'm afraid. I've seen the exact issue Graham
> describes. The compiler simply fails to build, complaining that the PCH
> is older than the headers.
>
> --Kyle Sluder
I guess that as an optimization, Xcode does not check all SDK (or system) headers, and just assume they do not change, so it failed to detect the change, and do not recompile the precompiled headers.
I also gut similar issues when I replace clang by a more recent version. Doing a clean / build had always solve the issue for me.
-- Jean-Daniel
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden