Skip to content

Fix WasmDemo package resolution from renamed checkouts - #235

Open
davdroman wants to merge 1 commit into
pointfreeco:mainfrom
davdroman:fix/wasm-package-identity
Open

davdroman wants to merge 1 commit into
pointfreeco:mainfrom
davdroman:fix/wasm-package-identity

Conversation

@davdroman

Copy link
Copy Markdown

The WasmDemo manifest relies on SwiftPM deriving the local package identity from the repository directory name. In a worktree or renamed checkout, the identity differs from swift-sharing, so workspace package resolution fails.

Declare swift-sharing as the local dependency's package name so the existing product dependency resolves independently of the checkout directory.

Declare the root package name explicitly so SwiftPM resolves Sharing from worktrees and renamed checkouts.
@davdroman
davdroman force-pushed the fix/wasm-package-identity branch from 0c24f06 to 4a6aca9 Compare September 11, 2026 13:21
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