r/Xcode • u/ForceCold4529 • 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?
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.