I just destroy the PCHs before the projects started. Sent from my iPhone
> On 2013年8月13日, at 3:31, Graham Cox <graham....@bigpond.com> wrote: > > Has anyone else run into this? > > You open a system header from the SDK into XCode, and due to muscle-memory, > absent-mindedness, reflex, lack of context or whatever, you hit cmd-S and > save it over the old header (even if it hasn't actually been changed). XCode > then refuses to build because the header file mod date no longer matches what > was used when the precompiled headers were built. > > OK, so let's restore that file - oops, no backup because I don't typically > back up apps, and the SDK is embedded in the app. OK, download a new SDK from > Apple - you can't, the SDK is part of the Xcode download which is 1.6 GB, not > a swift download in most people's books. Rebuild the precompiled headers? > Probably a fair option, but it's not obvious how one even does that these > days, assuming it's still possible (help?). > > Given that the SDK is embedded in the app, why on earth is it even allowed to > overwrite a file there? Why do the permissions allow writing? Mysteries, > mysteries... in the meantime I will have lost half a day's productivity just > putting this stupid annoyance right. > > /Gripe > > If anyone could let me have a copy of NSEvent.h from the XCode 4.6.2 10.8 SDK > with the mod date 10/4/2013 12:53AM that would save my sanity and my few > remaining hairs - thanks! > > --Graham > _______________________________________________ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > 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: > https://lists.apple.com/mailman/options/cocoa-dev/xcvista%40me.com > > This email sent to xcvi...@me.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com