How to use passed launch arguments in UITests
Issue #537
Specify launch arguments
In xcodebuild
, specify launch arguments.
You can specify this under Launch Arguments in Run action of the app scheme or UITest scheme

1 | -AppleLanguages (jp) -AppleLocale (jp_JP) |
1 | (lldb) po ProcessInfo().arguments |
In UITests, pass launch arguments from UITest scheme to UITest application
1 | app.launchArguments += ProcessInfo().arguments |
Environments
1 | ProcessInfo().environment // [String: String] |