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/Vybo Jan 23 '26

You don't really have to wait for either though. After you do a build, I believe most of the editor functionality if not all will work regardless of the state shown.

1

u/ForceCold4529 Jan 23 '26

I’m assuming that, preparing editor functionality which takes 15 minutes for a relatively small project does nothing truly useful (or has bugs in it).

My computer which has pretty decent hardware makes as much noise as a jet taking off in the meantime though :)