Re: Problems with Indexing in Xcode 8
Re: Problems with Indexing in Xcode 8
- Subject: Re: Problems with Indexing in Xcode 8
- From: Jens Alfke <email@hidden>
- Date: Fri, 04 Nov 2016 10:58:07 -0700
On Nov 4, 2016, at 3:11 AM, Simon Wilson < email@hidden> wrote:
I have a framework project that builds without errors or warnings, but whenever I open a source code file I get an error displayed next to the first #import statement for a framework dependency. The error text is:
‘<MyFramework/MyFramework.h>’ file not found’
I’ve had this happen to me. Sometimes I couldn’t find any reason, but IIRC sometimes it’s because some other target (that isn’t in the current scheme) does actually have such an error on that line. So have you tried building all of the targets in your project to make sure they all work?
But yeah, in general I do run into a lot of cases where the live-syntax-check shows bogus errors that vanish when I do a real compile, or conversely where it won’t highlight real errors until I compile. This has been going on since at least Xcode 7. I’ve just learned to grit my teeth and live with this, because it’s too intermittent to file bug reports on.
—Jens |
_______________________________________________
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