https://github.com/browserstack/browserstack-swift-sdk-artifacts
Publishing repository for BrowserStack Swift SDK for Automation testing.
https://github.com/browserstack/browserstack-swift-sdk-artifacts
Last synced: 7 days ago
JSON representation
Publishing repository for BrowserStack Swift SDK for Automation testing.
- Host: GitHub
- URL: https://github.com/browserstack/browserstack-swift-sdk-artifacts
- Owner: browserstack
- Created: 2025-09-24T11:09:06.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2026-06-19T13:11:02.000Z (26 days ago)
- Last Synced: 2026-06-28T23:02:25.625Z (17 days ago)
- Language: Swift
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# browserstack-swift-sdk-artifacts
Publishing repository for BrowserStack Swift SDK for Automation testing.
## Installation
1. Select **File > Swift Packages > Add Package Dependency...**.
2. Add the Github URL of the Package file:
```
https://github.com/browserstack/browserstack-swift-sdk-artifacts
```
>If you receive an `artifact of binary target 'BrowserstackSwiftSDK' failed extraction: The operation couldn’t be completed. (TSCBasic.StringError error 1.)` error when extracting the package, please close Xcode, delete the Derrived Data folder, re-open Xcode, and try again.
3. Select the BrowserstackSwiftSDK package product, select your target, and select Finish.
4. Add the below entry in the Info.plist file of your UI test target
```
NSPrincipalClass
BrowserstackSwiftSDK.BrowserstackSwiftSDK
```
**Alternatively**,
Import the Browserstack Swift SDK module
```
import BrowserstackSwiftSDK
```
And then in the UI test target's class initializer add,
```
override class func setUp() {
/* Can be any class initializer */
super.setUp()
let _ = BrowserstackSwiftSDK()
}
```