To make any of Applitools SDKs (EyesXCUI, EyesImages) work, you should install it using Swift Package Manager, or manually.
- In Xcode, select "File" -> "Add Packages..."
- Enter the URL:
https://github.com/applitools/eyes-xcui-swift-package.git
https://github.com/applitools/eyes-images-swift-package.git
- Click "Add Package"
- In the "Target" column, select your UI Tests target for EyesXCUI, or select your Unit Tests target for EyesImages.
- Click "Add Package".
-
Drag-and-drop EyesXCUI.framework to UI test target.
-
Open project navigator, select UI tests target(where you want to work with EyesXCUI SDK). Select Build Phases section.
-
Select Copy Files phase(or create if it does not exist by tapping + button on the top left corner of Project Navigator).
-
Tap + button on Copy Files phase, find and add EyesXCUI.framework.
-
Change Destination value to Frameworks on Copy Files phase.