Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Add validation against unsupported package targets (binary targets, system modules, conditional dependencies) #32

Merged
merged 2 commits into from
Feb 19, 2021

Conversation

bok-
Copy link
Contributor

@bok- bok- commented Feb 12, 2021

Swift Package Manager cannot generate Xcode Project files for packages that use .binaryTarget() or .systemLibrary(), and throw warnings when using conditional dependencies.

Instead of attempting to parse them and hitting a fatalError with no error message, we now check for the presence of targets that can't be generated and exit with a more informative error message.

… fail (binary targets and system modules are not supported)
@bok- bok- added enhancement New feature or request patch A tiny change that only warrants a patch release labels Feb 12, 2021
@bok- bok- merged commit 41c2108 into main Feb 19, 2021
@bok- bok- deleted the tech/generation-validation branch February 19, 2021 00:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request patch A tiny change that only warrants a patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant