Skip to content

Commit 482db2f

Browse files
authored
Merge pull request #110 from cashapp/entin/readme-spm-istc
2 parents 863da01 + 186d585 commit 482db2f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,14 @@ targets: [
5959
]
6060
```
6161

62-
We do not currently support AccessibilitySnapshot and [iOSSnapshotTestCase](https://github.com/uber/ios-snapshot-test-case) through Swift Package Manager.
62+
To use [iOSSnapshotTestCase](https://github.com/uber/ios-snapshot-test-case) to perform image comparisons, add a dependency on `FBSnapshotTestCase+Accessibility` for Swift testing or `FBSnapshotTestCase+Accessibility-ObjC` for Objective-C.
63+
64+
```swift
65+
targets: [
66+
.target(name: "MyApp"),
67+
.testTarget(name: "MyAppTests", dependencies: ["MyApp", "FBSnapshotTestCase+Accessibility"])
68+
]
69+
```
6370

6471
## Usage
6572

0 commit comments

Comments
 (0)