Skip to content

fix running wda on ios 14..16#533

Open
chernyka wants to merge 1 commit into
danielpaulus:mainfrom
chernyka:fix_wda_on_ios16
Open

fix running wda on ios 14..16#533
chernyka wants to merge 1 commit into
danielpaulus:mainfrom
chernyka:fix_wda_on_ios16

Conversation

@chernyka

Copy link
Copy Markdown

As for now, one of the steps to run xcuitest it to upload test configuration to a device. Later a path to uploaded file is just used as XCTestConfigurationFilePath env variable for test runner process. We use house_arrest service to upload file to application's container, however when it comes to test runner application built by Xcode it fails with InstallationLookupFailed error as runner doesn't have UIFileSharingEnabled permission.

I've just tried to run tests using Xcode and looked through env variables in runtime. It appeared that Xcode pass this env indeed but leaves it empty, tested on iOS15.8.3/16.1/17.6.1, Xcode15.3/16.1.

I think we should setup test configuration similar way on iOS17+ or lower, that is not to upload .xctestconfiguration as Xcode does not. Unfortunately I don't have devices with earlier OS on board and cannot test it with iOS13 and earlier, so decided not to change current behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants