You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is a swift-format or swiftlint issue or both.
Computing version for https://github.com/apple/swift-format.git
error: Dependencies could not be resolved because root depends on 'swift-format' 0.50600.1..<1.0.0 and root depends on 'swiftlint' 0.47.1..<1.0.0.
'swiftlint' is incompatible with 'swift-format' because 'swift-format' 0.50600.1 depends on 'swift-argument-parser' 1.1.1..<1.2.0 and no versions of 'swift-format' match the requirement 0.50600.2..<1.0.0.
'swiftlint' >= 0.47.1 practically depends on 'swift-argument-parser' 1.0.3..<1.1.0 because no versions of 'swiftlint' match the requirement 0.47.2..<1.0.0 and 'swiftlint' 0.47.1 depends on 'swift-argument-parser' 1.0.3..<1.1.0.
error: ExitCode(rawValue: 1)
[0/1] Planning buildThe terminal process "/usr/bin/bash '-c', 'swift build --build-tests'" terminated with exit code: 1.
// swift-tools-version: 5.6
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
letpackage=Package(
name:"New Folder",
dependencies:[
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
// .package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.1.2"),
//.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.0.3"),
.package(url:"https://github.com/apple/swift-format.git", from:"0.50600.1"),.package(url:"https://github.com/realm/SwiftLint.git", from:"0.47.1"),],
targets:[
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.executableTarget(
name:"New Folder",
dependencies:[]),.testTarget(
name:"New FolderTests",
dependencies:["New Folder"]),])
The text was updated successfully, but these errors were encountered:
I'm not sure if this is a swift-format or swiftlint issue or both.
The text was updated successfully, but these errors were encountered: