Файли
openidea/crates
LU XIANGRUIтаwildcatDownstairs 8397e5e2a3 fix(xcode): build autocreated schemes in the background for code insight (#7650)
A project whose schemes Xcode autocreates has no .xcscheme files (a fresh XcodeGen project, or one never opened in Xcode). Schemes were read only from those files, so the background build for code insight failed with "The Xcode project has no scheme to build" and cross-file code intelligence stayed missing.

A .xcodeproj without any scheme file (shared or personal) now gets the schemes Xcode autocreates: one per target other than a unit-test or UI-test bundle, read from project.pbxproj without running xcodebuild (which resolves Swift packages first and can take seconds or hang offline). The index build uses the scheme Run builds first, and a project with nothing to build skips the index build quietly.

Closes #7644

Co-authored-by: wildcatDownstairs <[email protected]>
2026-12-03 14:34:49 +08:00
..