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: Alex Zavatone <email@hidden>
- Date: Tue, 21 Apr 2015 11:49:25 -0400
OK.
In case this happens to anyone else, what happened was fixed by making a change to the .pch and rebuilding the app.
All the 34 build errors magically went away.
What's super odd is that even though there were all these red flagged build errors with #defines, the app ran with the 34 errors that should have broken all the #define substitutions.
Hope this helps someone else.
Cheers,
Alex Zavatone
On Apr 21, 2015, at 11:00 AM, Alex Zavatone 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