# Export UITest Artifacts in Xcode-Test-Step

**URL:** <https://discuss.bitrise.io/t/export-uitest-artifacts-in-xcode-test-step/3913>\
**Category:** Issues\
**Tags:** step, ios, testing, xcode\
**Created:** [January 26, 2018, 1:46pm UTC](https://discuss.bitrise.io/t/export-uitest-artifacts-in-xcode-test-step/3913 "2018-01-26T13:46:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dept](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dept](https://discuss.bitrise.io/u/Dept)\
**Post date:** [January 26, 2018, 1:46pm UTC](https://discuss.bitrise.io/t/export-uitest-artifacts-in-xcode-test-step/3913/1 "2018-01-26T13:46:13Z")

</div>

There is a issue in the workflow of steps-xcode-test ([https://github.com/bitrise-io/steps-xcode-test](https://github.com/bitrise-io/steps-xcode-test)):

In the scenario where the workflow is required to find the deriveddata path from XCode to export the attachments it fails.  
If the project\_path contains spaces in the naming of the xcode project filename the function:  
func saveAttachments(projectPath, scheme string) error  
does not replace the spaces with underscores.  
as an example it tries to look for the artefacts in path:  
/Users/vagrant/Library/Developer/Xcode/DerivedData/Project Name-\*  
instead of:  
/Users/vagrant/Library/Developer/Xcode/DerivedData/Project\_Name-\*

Hope this problem can be fixed soon 😃

---

<div class="post-metadata">

**Author:** ![viktorbenei](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/viktorbenei/32/18_2.png) [@viktorbenei](https://discuss.bitrise.io/u/viktorbenei)\
**Post date:** [January 26, 2018, 1:47pm UTC](https://discuss.bitrise.io/t/export-uitest-artifacts-in-xcode-test-step/3913/2 "2018-01-26T13:47:35Z")

</div>

Thanks for reporting @Dept! We’ll try to fix this ASAP! 🙂

---

<div class="post-metadata">

**Author:** ![tamaspapik](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/tamaspapik/32/251_2.png) [@tamaspapik](https://discuss.bitrise.io/u/tamaspapik)\
**Post date:** [February 5, 2018, 10:15am UTC](https://discuss.bitrise.io/t/export-uitest-artifacts-in-xcode-test-step/3913/3 "2018-02-05T10:15:08Z")

</div>

Hey @Dept! 👋

Thank you for reporting the issue, the new version([1.18.11](https://github.com/bitrise-io/steps-xcode-test/releases/tag/1.18.11)) will be available soon which will include the fix for the issue you’ve described! 🚀

Please let us know if you still encounter any issue with it! 🙂
