Xcode Test screenshot file copy failing on Xcode 10

Hi, I’ve logged issue https://github.com/bitrise-io/steps-xcode-test/issues/95 with the details, but wanted to make a note here in case others search here first (like I did).

When I get a test failure, which triggers copying of screenshots, I get this error in my log:

Exporting attachments
Failed to export UI test artifacts, error no test attachments found at: /Users/vagrant/Library/Developer/Xcode/DerivedData/LogicPuzzles-gewhzekhsopbesfofqckztpeajlv/Logs/Test/Attachments
xcode test exit code: 65

It seems that Xcode 10 has moved the location of the generated screenshots – probably to support multiple simultaneous simulators.

Hi @eggheadgames,

Sorry to hear about this. Can you please send us a build URL so we are able to see the whole log?

Sure, here you go: https://app.bitrise.io/build/fa9ca9740cb7ac34 - though pretty much any of our builds from the last 2-3 days have the same behavior.

FWIW, today I adjusted one of my own scripts for this too and confirmed it’s definitely a change from Xcode 9 to Xcode 10.

Are you able to reproduce this ok?

Hi @eggheadgames,
thanks for the report, the fix is scheduled.

Hi @eggheadgames !

We will release a fix today (v1.18.17) for this issue.
Could you please wire in the new version and try again?

Working now, thanks!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.