Home IOS Development ios – xcodebuild UITests screenshots location

ios – xcodebuild UITests screenshots location

0
ios – xcodebuild UITests screenshots location

[ad_1]

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/tasks/apple/MyProject/Screens'

After checks I get on the finish or command line output

Check session outcomes, code protection, and logs:
    /Volumes/tasks/apple/MyProject/Screens/Logs/Check/Check-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 choose one after the other every screenshot (20 gadgets), press “Save Attachment…”, choose folder and so forth..

Is it potential to make as easie?
Once I open Check-MyProject-2023.11.18_15-18-46-+0200.xcresult as folder I see following folders/information:

Information
Data.plist
database.sqlite3

Folder Information accommodates “knowledge” and “refs” information and no photographs:

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

I exploit final Xcode 15.0.1.

Please recommendation how save all screenshots to at least one folder or the place are situated screenshots information for coping them for AppStore?

[ad_2]

LEAVE A REPLY

Please enter your comment!
Please enter your name here