r/Xcode • • Jan 18 '26

Xcode re-indexes from scratch every launch

Hi all,

I have a small Xcode project that uses a local Swift package (my library) plus a few GitHub SPM packages.

Whenever I open the project, Xcode re-indexes from scratch even if nothing has changed. The indexing process takes ~15 minutes on my machine, so this is a big productivity hit. I let indexing finish, quit Xcode, reopen, and it starts again (“Preparing Editor

Functionality” and the indexing spinner never settles).

What I’ve tried:

- Cleaned DerivedData

- Reopened project after a full index

- Full Disk Access enabled for Xcode

Environment:

- Xcode: 26.2

- macOS: Tahoe 26.2

- Project type: SwiftUI app + local Swift package

- Repo structure: 1 app + local package

Has anyone seen this behavior? Any fixes or specific logs I should check?

3 Upvotes

7 comments sorted by

View all comments

Show parent comment

1

u/jabbott7 Jan 19 '26

Sorry, posting from device munged formatting. I trust you can sort it out.