After creating a file in the Documents directory of the application's sandbox I can't export it using the custom artifacts feature of device farm. I've created this fork to help explain and reproduce the issue. https://github.com/jamesknowsbest/aws-device-farm-xctest-ui-tests-for-ios-sample-app Let me know if you need anything else