A Swift Package that allows you to ignore you
Package.swift dependencies warnings.
IgnoreConfig at the very bottom of you
Package.swift like this.
#if canImport(IgnoreConfig) import IgnoreConfig // add the list of targets you wish to preserve the warnings for as excluded IgnoreConfig(excludedTargets: ["YourMainTarget", "SomeOtherTargetOfYours"]).write() #endif
Whenever you add another dependency with warnings just or regenerate xcodeproj just run this from directory with your
swift run phase
Add dependency to dependencies in your project
dependencies: [ .package(url: "https://github.com/IgorMuzyka/ignore", from: "1.0.0"), ]
PackageConfigs to your targets and list the
.target(name: "PackageConfigs", dependencies: [ "IgnoreConfig", ])
To make sure you can run
ignore run this in your project directory with
swift run package-config # builds PackageConfigs dependencies