14.2 C
London
Saturday, November 18, 2023

ios – xcodebuild UITests screenshots location


I’ve UITests which take a look at my iOS app and make screenshots for launch on AppStore.
I run take a look at from command line:

xcodebuild take a look at -workspace 'MyProject.xcworkspace' -scheme 'MyProject' -destination 'platform=iOS Simulator,identify=iPhone 15 Plus,OS=17.0.1' -destination 'platform=iOS Simulator,identify=iPhone 13 mini,OS=17.0.1' -only-testing MyProjectUITests/MyProjectScreenshots -derivedDataPath '/Volumes/initiatives/apple/MyProject/Screens'

After exams I get on the finish or command line output

Take a look at session outcomes, code protection, and logs:
    /Volumes/initiatives/apple/MyProject/Screens/Logs/Take a look at/Take a look at-MyProject-2023.11.18_15-18-46-+0200.xcresult

** TEST SUCCEEDED **

Additionally I can open this .xcresult file in Xcode and see screenshots.
However for saving screenshots to launch foldter I would like decide one after the other every screenshot (20 gadgets), press “Save Attachment…”, choose folder and many others..

Is it doable to make as easie?
After I open Take a look at-MyProject-2023.11.18_15-18-46-+0200.xcresult as folder I see following folders/information:

Knowledge
Information.plist
database.sqlite3

Folder Knowledge comprises “information” and “refs” information and no photos:

18 15:22 information.0~-AW7Z5eonr7ERKZzv4X-Eph5uLT_TawiB0QLz7hnFAfp_BwyE4285rJmbNtva6Z5tzaulJuShzDqXY-OcNcHQg==
information.0~-HotSyqpnQiGSzETRwLexeJP3RMXgFhG7vUYM6ahDEnyAmKf68vfXR25yFuj3FeGVwiMliSwoUylc_TOnsuYEA==
information.0~-Mve5kAIcP1KcJq5B-t6HkBcR0c8mCyOx7eMi8rvCApPNI6z36t5B3a_yOJjawLCghbFqBHI37Vx5cfSAq54Gg==
information.0~-P9OGsSQOe7_u3hVgyGduS-LOXQ1xojIfzt69vuAwrYiBP5KbS558nLBzCK3raQZRkvnBIPonGY6wdIkdzZ1JQ==
...
refs.0~xINxxF87f4pfxMcjrD5osQ34R9U3y_wWEMQZVAFNlIdcl0mSryw_7ARteAgn3DTZjUhsSTmcrv06EfPO89xgyQ==
refs.0~zkldkf1kBSNG-lugSYFlfgDthWtcYxAkKLAHgElOwjuDWuYNob4d5exYYkQtlKTmZqy73obtCCHgA6BJ_RSpOA==

I take advantage of final Xcode 15.0.1.

Please recommendation how save all screenshots to 1 folder or the place are positioned screenshots information for coping them for AppStore?

Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here