Re: Indexing broken for one project
Re: Indexing broken for one project
- Subject: Re: Indexing broken for one project
- From: Rob Petrovec via Cocoa-dev <email@hidden>
- Date: Sun, 6 Feb 2022 11:18:45 -0700
Quit Xcode, delete the DerivedData directory for your project and re-open your
project. That should trigger a re-index and a full rebuild of your product.
The default location for the DerivedData directory is in
~/Library/Developer/Xcode/DerivedData/<project name>-<random numbers &
letters>. You can also configure it to be in your source directory, like I do,
so you can keep your build products with your code.
Hope that helps.
—Rob
> On Feb 6, 2022, at 6:20 AM, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
> A few weeks ago, indexing in Xcode 13 stopped working for one of my projects.
> So, for instance, "Jump to Definition" does not work any more.
> I don't know what stopped indexing to work.
>
> The project consists of objective-c source code.
> For other projects, indexing still works fine.
>
> I have tried to delete Derived Data (which, in my case, is stored under /tmp).
> I have also tried to follow these instructions
> https://levelup.gitconnected.com/uncovering-xcode-indexing-8b3f3ff82551
> and perused the log file, but I could not see any error messages.
>
> Any ideas what else I can try?
> Could it be something in the source code / header files?
> (The project compiles just fine, though.)
>
> Best regards, Gabriel
>
> _______________________________________________
>
> 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
_______________________________________________
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