Pass env variables into iOS AuT

How can I pass environment variables into iOS application under test? I need it to apply the desired settings before starting the test. I noticed that WebDriverAgent has Facebook-inherited capabilities that can help pass launchEnvironment into XCUIApplication. But it seems like it’s not possible to send these capabilities from Appium

It is possible via appium:processArguments capability

1 Like

Thank you so much, Mykola, it worked!