Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix running wda on ios 14..16 #533

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chernyka
Copy link

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.

1 participant