Skip to content

[BUG] xcparse doesn't export screenshots for iPhone Xʀ on Xcode 11.1 or below #30

Description

@vince4

Describe the bug
xcparse does'nt export screenshots for iPhone Xʀ. It works well for iPhone Xs but when I run xcparse screenshots --model --test-run ./Test-MyProject-2019.11.08_17-11-35-+0100.xcresult/ ./screen/, iPhone Xʀ folder contains empty test configurations folders.

Desktop (please complete the following information):

  • OS: Mac OS X 10.15 19A603
  • xcparse Version: 1.0.0
  • Swift version: 5.1
  • XCResult version:
{
  "storage" : {
    "backend" : "fileBacked2",
    "compression" : "standard"
  },
  "dateCreated" : "2019-11-08T17:14:51.000+0100",
  "rootId" : {
    "hash" : "0~HPk8o0sdWVssq8vJoGciopcDFzESyRI2ozvlr7NFNgkOQ9ma1r1HGbYldGtV-QUQLGuYL_oHw6ihqU_O-u4R0A=="
  },
  "externalLocations" : [

  ],
  "version" : {
    "major" : 3,
    "minor" : 21
  }
}

To Reproduce
Steps to reproduce the behavior:

  1. Run test with xcodebuild -destination 'platform=iOS Simulator,name=iPhone Xr,OS=13.0' test
  2. Export screenshots with xcparse screenshots --model --test-run ./Test-MyProject-2019.11.08_17-11-35-+0100.xcresult/ ./screen/

Expected behavior
Folder iPhone Xʀ containing screenshots

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions