Closed stephanecopin closed 5 years ago
In the current setup, if IBLinter is used in a project via SPM with other tools that uses Commandant (for example SwiftLint):
IBLinter
Commandant
SwiftLint
// swift-tools-version:4.2 import PackageDescription let package = Package( name: "App", dependencies: [ .package(url: "https://github.com/Realm/SwiftLint", from: "0.28.1"), .package(url: "https://github.com/stephanecopin/IBLinter", .from("0.4.11")), ] )
The swift build command will fail with the following error:
swift build
error: the package iblinter[https://github.com/IBDecodable/IBLinter] @ 0.4.11 contains incompatible dependencies: ibdecodable[https://github.com/IBDecodable/IBDecodable.git] @ master commandant[https://github.com/Carthage/Commandant.git] @ master
This PR fixes the issue by specifying the latest (as of writing this) version for Commandant, 0.15.0.
0.15.0
I didn't touch IBDecodable as it wasn't an issue for me, but let me know if I should also update it and pin the version to 0.0.2.
IBDecodable
0.0.2
LGTM Thanks!
In the current setup, if
IBLinter
is used in a project via SPM with other tools that usesCommandant
(for exampleSwiftLint
):The
swift build
command will fail with the following error:This PR fixes the issue by specifying the latest (as of writing this) version for
Commandant
,0.15.0
.I didn't touch
IBDecodable
as it wasn't an issue for me, but let me know if I should also update it and pin the version to0.0.2
.