Skip to content

Commit

Permalink
Merge pull request #255 from diogot/fix-swift-package
Browse files Browse the repository at this point in the history
Fix Swift Package definition
  • Loading branch information
ashfurrow committed Nov 22, 2022
2 parents 8ce1c7e + a61905b commit 162c1e2
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 45 deletions.
78 changes: 38 additions & 40 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,43 +1,41 @@
{
"object": {
"pins": [
{
"package": "CwlCatchException",
"repositoryURL": "https://github.com/mattgallagher/CwlCatchException.git",
"state": {
"branch": null,
"revision": "682841464136f8c66e04afe5dbd01ab51a3a56f2",
"version": "2.1.0"
}
},
{
"package": "CwlPreconditionTesting",
"repositoryURL": "https://github.com/mattgallagher/CwlPreconditionTesting.git",
"state": {
"branch": null,
"revision": "c21f7bab5ca8eee0a9998bbd17ca1d0eb45d4688",
"version": "2.1.0"
}
},
{
"package": "iOSSnapshotTestCase",
"repositoryURL": "https://github.com/uber/ios-snapshot-test-case.git",
"state": {
"branch": null,
"revision": "7b10770333a961be6e5a41c9ce04b8c6d3990126",
"version": "8.0.0"
}
},
{
"package": "Nimble",
"repositoryURL": "https://github.com/Quick/Nimble.git",
"state": {
"branch": null,
"revision": "1f3bde57bde12f5e7b07909848c071e9b73d6edc",
"version": "10.0.0"
}
"pins" : [
{
"identity" : "cwlcatchexception",
"kind" : "remoteSourceControl",
"location" : "https://github.com/mattgallagher/CwlCatchException.git",
"state" : {
"revision" : "35f9e770f54ce62dd8526470f14c6e137cef3eea",
"version" : "2.1.1"
}
]
},
"version": 1
},
{
"identity" : "cwlpreconditiontesting",
"kind" : "remoteSourceControl",
"location" : "https://github.com/mattgallagher/CwlPreconditionTesting.git",
"state" : {
"revision" : "c21f7bab5ca8eee0a9998bbd17ca1d0eb45d4688",
"version" : "2.1.0"
}
},
{
"identity" : "ios-snapshot-test-case",
"kind" : "remoteSourceControl",
"location" : "https://github.com/uber/ios-snapshot-test-case.git",
"state" : {
"revision" : "7b10770333a961be6e5a41c9ce04b8c6d3990126",
"version" : "8.0.0"
}
},
{
"identity" : "nimble",
"kind" : "remoteSourceControl",
"location" : "https://github.com/Quick/Nimble.git",
"state" : {
"revision" : "b7f6c49acdb247e3158198c5448b38c3cc595533",
"version" : "11.2.1"
}
}
],
"version" : 2
}
12 changes: 7 additions & 5 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@ let package = Package(
targets: ["NimbleSnapshotsObjc"])
],
dependencies: [
.package(name: "iOSSnapshotTestCase",
url: "https://github.com/uber/ios-snapshot-test-case.git",
.package(url: "https://github.com/uber/ios-snapshot-test-case.git",
.upToNextMajor(from: "8.0.0")),
.package(url: "https://github.com/Quick/Nimble.git",
.upToNextMajor(from: "11.0.0"))
],
targets: [
.target(
name: "Nimble-Snapshots",
dependencies: ["iOSSnapshotTestCase",
"Nimble"],
dependencies: [
.product(name:"iOSSnapshotTestCase", package: "ios-snapshot-test-case"),
.product(name: "Nimble", package: "Nimble")
],
path: "Nimble_Snapshots",
exclude: ["XCTestObservationCenter+CurrentTestCaseTracker.h",
"XCTestObservationCenter+CurrentTestCaseTracker.m",
Expand All @@ -49,7 +50,8 @@ let package = Package(
"Info.plist",
"Nimble_Snapshots.xcconfig"],
sources: ["XCTestObservationCenter+CurrentTestCaseTracker.h",
"XCTestObservationCenter+CurrentTestCaseTracker.m"]
"XCTestObservationCenter+CurrentTestCaseTracker.m"],
publicHeadersPath: "."
)
],
swiftLanguageVersions: [.v5]
Expand Down

0 comments on commit 162c1e2

Please sign in to comment.