diff --git a/Package.resolved b/Package.resolved index 65ded41..46c6b0f 100644 --- a/Package.resolved +++ b/Package.resolved @@ -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 } diff --git a/Package.swift b/Package.swift index 7567390..41218e4 100644 --- a/Package.swift +++ b/Package.swift @@ -13,8 +13,7 @@ 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")) @@ -22,8 +21,10 @@ let package = Package( 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", @@ -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]