A Swift Package that allows you to ignore you Package.swift dependencies warnings.
Usage
Define 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 Package.swift.
swift run phase
Installation
Add dependency to dependencies in your project Package.swift
⚠️ ignore
A Swift Package that allows you to ignore you
Package.swiftdependencies warnings.Usage
Define
IgnoreConfigat the very bottom of youPackage.swiftlike this.Whenever you add another dependency with warnings just or regenerate xcodeproj just run this from directory with your
Package.swift.Installation
Add dependency to dependencies in your project
Package.swiftAdd target
PackageConfigsto your targets and list theIgnoreConfigthere:To make sure you can run
ignorerun this in your project directory withPackage.swift