Skip to content

[codex] Process symbol asset catalog#21

Draft
jamesrochabrun wants to merge 1 commit intoCodeEditApp:mainfrom
jamesrochabrun:codex/process-symbol-assets
Draft

[codex] Process symbol asset catalog#21
jamesrochabrun wants to merge 1 commit intoCodeEditApp:mainfrom
jamesrochabrun:codex/process-symbol-assets

Conversation

@jamesrochabrun
Copy link
Copy Markdown

Summary

  • declare Symbols.xcassets as a processed SwiftPM resource
  • allow SwiftPM to synthesize Bundle.module for CodeEditSymbols

Root Cause

CodeEditSymbols uses Bundle.module when loading custom symbols, but the target did not declare any resources. Plain SwiftPM builds therefore do not synthesize the generated Bundle.module accessor and fail with type 'Bundle' has no member 'module'.

Validation

  • swift build

swift test currently reaches the test dependency build, but fails in swift-snapshot-testing 1.9.0 on macOS availability annotations unrelated to this manifest change.

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.

1 participant