Skip to content

Fix searchpath on make install on Xcode 27 - #670

Merged
f-meloni merged 1 commit into
danger:masterfrom
417-72KI:fix-installer
Oct 3, 2026
Merged

f-meloni merged 1 commit into
danger:masterfrom
417-72KI:fix-installer

Conversation

@417-72KI

@417-72KI 417-72KI commented Oct 3, 2026

Copy link
Copy Markdown
Member

Since Xcode 27, make install fails due to hierarchy changes in .build.

...
swift-driver version: 1.168.6 ls: .build/release/Modules: No such file or directory

This PR fixes that copying Modules only when it exists.

Copilot AI balanced review requested due to automatic review settings October 3, 2026 04:56

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The focused guard safely preserves existing behavior while handling Xcode 27’s directory layout.

Review effort: Balanced
Findings: None

What changed in this PR

Updates installation compatibility for Xcode 27’s changed Swift build hierarchy.

Changes:

  • Only accesses .build/.../Modules when that directory exists.
  • Prevents make install from failing on missing module directories.
File Description
Scripts/​install.sh Guards module discovery with a directory existence check.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@f-meloni f-meloni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@f-meloni
f-meloni merged commit fcb64d7 into danger:master Oct 3, 2026
15 checks passed
@417-72KI
417-72KI deleted the fix-installer branch October 3, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants