Xcode Test screenshot file copy failing on Xcode 10


#1

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.


#2

Hi @eggheadgames,

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


#3

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.


#4

Are you able to reproduce this ok?


#5

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


#6

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?


#7

Working now, thanks!


#8

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