Skip to content

Add Playdate SDK include path to examples for Xcode module scanning#156

Merged
finnvoor merged 1 commit intomainfrom
xcode-sdk-include
Jan 30, 2026
Merged

Add Playdate SDK include path to examples for Xcode module scanning#156
finnvoor merged 1 commit intomainfrom
xcode-sdk-include

Conversation

@finnvoor
Copy link
Owner

@finnvoor finnvoor commented Jan 30, 2026

Summary

  • Adds the Playdate SDK C_API include path (-Xcc -I) to example targets' swiftSettings
  • Fixes Xcode builds failing with 'pd_api.h' file not found during Clang dependency scanning
  • The CPlaydate target's cSettings uses .unsafeFlags for the SDK include path, which doesn't propagate to dependent targets during Xcode's explicit module builds

Closes #148

@finnvoor finnvoor merged commit c3feda6 into main Jan 30, 2026
8 checks passed
@finnvoor finnvoor deleted the xcode-sdk-include branch January 30, 2026 18:32
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.

No longer builds on latest xcode

1 participant