Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add excludeFromProject option for local packages #1512

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maximkrouk
Copy link

@maximkrouk maximkrouk commented Oct 13, 2024

I'm trying to avoid xcodeproj management as much as possible and I'd prefer to inject my packages implicitly using xcworkspace, so they don't even show up in xcodeproj.

Description Old New
Reference in files (removed) Screenshot 2024-10-14 at 1 27 19 AM Screenshot 2024-10-14 at 1 25 51 AM
Reference in packages (removed) Screenshot 2024-10-14 at 1 16 23 AM Screenshot 2024-10-14 at 1 17 06 AM
Reference in dependencies (unchanged) Screenshot 2024-10-14 at 1 16 43 AM Screenshot 2024-10-14 at 1 16 43 AM

I added a new flag excludeFromProject to SwiftPackage config, it is optional and defaults to false (old behaviour), setting it to true applies changes accordingly to screenshots I provided above. This change will help to keep project a bit cleaner when packages are injected using xcworkspace.

@maximkrouk
Copy link
Author

Build errors look completely unrelated to changes introduced by this PR 🌚

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