Re: Indexing broken for one project
Re: Indexing broken for one project
- Subject: Re: Indexing broken for one project
- From: Keary Suska via Cocoa-dev <email@hidden>
- Date: Sun, 6 Feb 2022 10:52:09 -1000
I have come across issues where a code syntax error messes up indexing—are you
able to do a full, successful compilation? Other than that, I have heard that
some issues might require a system restart, i.e. 1) quitting Xcode; 2) deleting
derived data (if you use a shared location you might also want to delete or
move derived data from other projects); and 3) restarting the computer.
HTH,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business”
> On Feb 6, 2022, at 9:32 AM, Gabriel Zachmann via Cocoa-dev
> <email@hidden> wrote:
>
> Thanks a lot for your response.
>
> I had tried that already, to no avail.
>
> I am seeing lots of "Crash detected during compilation"
> in Xcode's indexing log.
>
> Best regards, Gabriel
>
>
>
>> On 6. Feb 2022, at 19:18, Rob Petrovec <email@hidden> wrote:
>>
>> 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
_______________________________________________
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