swift-custom-dump: Version 0.4.0 does not compile
CoreImage extensions with availability constraints result in the following error
Protocol 'CustomDumpStringConvertible' requires 'customDumpDescription' to be available in iOS 9.0.0 and newer
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (8 by maintainers)
@chernousov-m You can always add a direct dependency on a transitive to lock its version. This is exactly what I did in our project to fix the issue.
So instead of having TCA only in your Package.swift (which will lead to indirectly importing the latest CustomDump):
Add both:
You don’t even have to add the product to your target. Just the dependency inside
dependencieswill force SPM to resolve 0.3.0 always regardless to satisfy both TCA and your package.