Skip to content

Conversation

crleona
Copy link
Contributor

@crleona crleona commented Mar 27, 2025

It is sometimes useful to provide both a source and precompiled version of the same product from the same Package.swift file. Unfortunately, we cannot use swift-create-xcframework to build for that case, as any binary targets added to the package will fail project generation with an error, even if they not needed for building the specified product.

This PR offers a simple workaround - the ability to skip adding binary targets if they are not needed for a build.

@bsneed
Copy link
Collaborator

bsneed commented Mar 27, 2025

Thanks @crleona ! This isn't something I've had to do yet, so thanks for blazing that trail here.

@bsneed bsneed merged commit c6f94c8 into segment-integrations:master Mar 27, 2025
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