How to copy screenshots from xcode test suite

Hi, i'm trying to implement making a screenshots from my macos app. I have a problem with extracting png files of screenshots from .xcresult. I found some xcparse app, but i don't want to use any thirdy-party code for this trivial task. Is there any way to do this? Thank you

Take a look at XCTAttachment documentation.

How to copy screenshots from xcode test suite
 
 
Q