Skip to content

Document workaround for specifying package dependency traits in Xcode project#35

Merged
mattt merged 8 commits into
mainfrom
mattt/document-xcode-trait-workaround
Nov 14, 2025
Merged

Document workaround for specifying package dependency traits in Xcode project#35
mattt merged 8 commits into
mainfrom
mattt/document-xcode-trait-workaround

Conversation

@mattt

@mattt mattt commented Nov 14, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

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.

Pull Request Overview

This PR documents a workaround for using Swift package traits in Xcode projects, which currently lack native support for trait declarations. The changes include removing redundant import statement lines from a code example and adding comprehensive documentation about creating a local Swift package "shim" to enable trait-based dependencies in Xcode projects.

  • Adds a new "Using Traits in Xcode Projects" section with step-by-step instructions
  • Removes duplicate empty lines and an import statement from the initial code example
  • Provides a working example reference to the chat-ui-swift project

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md
Comment thread README.md

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.

Pull Request Overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md Outdated
Comment thread README.md
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
@mattt mattt merged commit 8868054 into main Nov 14, 2025
3 checks passed
@mattt mattt deleted the mattt/document-xcode-trait-workaround branch November 14, 2025 12:58
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.

2 participants