Skip to content

Fix xcodebuild/Xcode GUI build for SwiftBridging header missing - #206

Merged
Kyle-Ye merged 1 commit into
mainfrom
bugfix/bridge
Feb 24, 2026
Merged

Fix xcodebuild/Xcode GUI build for SwiftBridging header missing#206
Kyle-Ye merged 1 commit into
mainfrom
bugfix/bridge

Conversation

@Kyle-Ye

Copy link
Copy Markdown
Member

Summary

  • Fix SwiftBridging header not found when building with xcodebuild or Xcode GUI
  • Replace -isystem include path approach with symlinks from target include directories (OpenAttributeGraphCxx, Utilities) to the SwiftBridging module
  • Move SwiftBridging.h out of nested include/SwiftBridging/ subdirectory to the module root

Test plan

  • Build with swift build via command line
  • Build with xcodebuild to verify header resolution
  • Open in Xcode GUI and verify the project builds without errors

@augmentcode

Copy link
Copy Markdown
🤖 Augment PR Summary

Summary: Fixes Xcode/xcodebuild builds failing to find the Swift bridging header by avoiding a global -isystem path.
Changes: Moves SwiftBridging.h to the module root and exposes it via include-dir symlinks from OpenAttributeGraphCxx and Utilities.

🤖 Was this summary useful? React with 👍 or 👎

@augmentcodeaugmentcodeBot 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.

Review completed. 2 suggestions posted.

Fix All in Augment

Comment augment review to trigger a new review at any time.

Comment threadPackage.swift
Comment threadSources/OpenAttributeGraphCxx/include/SwiftBridging
@Kyle-Ye
Kyle-Ye merged commit 1a57428 into mainFeb 24, 2026
4 checks passed
@Kyle-Ye
Kyle-Ye deleted the bugfix/bridge branch February 24, 2026 18:54
@codecov

codecovBot commented Feb 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 10.12%. Comparing base (d6910f8) to head (09ac624).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@## main #206 +/- ##
=======================================
Coverage 10.12% 10.12% =======================================
Files 28 28 Lines 820 820 =======================================
Hits 83 83 Misses 737 737 

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugSomething isn't workingbuild issueplatform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@Kyle-Ye