Re: 34 build errors magically just appeared and then Xcode 6.2 crashed.
Re: 34 build errors magically just appeared and then Xcode 6.2 crashed.
- Subject: Re: 34 build errors magically just appeared and then Xcode 6.2 crashed.
- From: Dave <email@hidden>
- Date: Fri, 15 May 2015 12:30:29 +0100
Hi,
I think since the “modules” facility was added, the PCH file handling is broken. I’ve had the problem you describe and found the only way to be safe is to Clean the project whenever you make a change to anything related to the PCH file.
All the Best
Dave
> On 21 Apr 2015, at 16:00, Alex Zavatone <email@hidden> wrote:
>
> From what I can gather on this iOS project, 30 build errors appeared because for some reason, Xcode thinks that the Defaults.h file which is imported in the .pch is no longer present.
>
> Errors are being flagged for every #define within the app.
>
> I looked in the .pch, and Defaults.h is being imported under #ifdef __OBJC__
>
> Defaults.h is present within the project.
>
> Adding #import Defaults.h to each of the files resolves the errors, but this means that one line in the .pch is not getting called.
>
> Rebuilding the app, cleaning the app, quitting and restarting Xcode all don't resolve this.
>
> What's the recommended process here to get Xcode to resolve this? I've quit and restarted Xcode
>
> Should I just modify the .pch and rebuild?
>
> Thanks in advance. This is terribly frightening to see happen.
>
> Alex Zavatone
>
>
>
>
> _______________________________________________
> 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
_______________________________________________
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