Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Currently supported:
- Linux
- **Mobile Platforms:**
- Android (via ADB or SauceLabs Real Device Cloud)
- iOS Simulator (via xcrun simctl on macOS)
- iOS (via SauceLabs - coming soon)

## Requirements
Expand Down
8 changes: 6 additions & 2 deletions app-runner/Private/DeviceProviders/DeviceProviderFactory.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ class DeviceProviderFactory {
Write-Debug "DeviceProviderFactory: Creating AdbProvider"
return [AdbProvider]::new()
}
"iOSSimulator" {
Write-Debug "DeviceProviderFactory: Creating iOSSimulatorProvider"
return [iOSSimulatorProvider]::new()
}
"AndroidSauceLabs" {
Write-Debug "DeviceProviderFactory: Creating SauceLabsProvider (Android)"
return [SauceLabsProvider]::new('Android')
Expand All @@ -94,7 +98,7 @@ class DeviceProviderFactory {
return [MockDeviceProvider]::new()
}
default {
$errorMessage = "Unsupported platform: $Platform. Supported platforms: Xbox, PlayStation5, Switch, Windows, MacOS, Linux, Adb, AndroidSauceLabs, iOSSauceLabs, Local, Mock"
$errorMessage = "Unsupported platform: $Platform. Supported platforms: Xbox, PlayStation5, Switch, Windows, MacOS, Linux, Adb, iOSSimulator, AndroidSauceLabs, iOSSauceLabs, Local, Mock"
Write-Error "DeviceProviderFactory: $errorMessage"
throw $errorMessage
}
Expand All @@ -112,7 +116,7 @@ class DeviceProviderFactory {
An array of supported platform names.
#>
static [string[]] GetSupportedPlatforms() {
return @("Xbox", "PlayStation5", "Switch", "Windows", "MacOS", "Linux", "Adb", "AndroidSauceLabs", "iOSSauceLabs", "Local", "Mock")
return @("Xbox", "PlayStation5", "Switch", "Windows", "MacOS", "Linux", "Adb", "iOSSimulator", "AndroidSauceLabs", "iOSSauceLabs", "Local", "Mock")
}

<#
Expand Down
Loading