Restrict fastlane snapshot to iPhone devices

150 Views Asked by At

We can get automated snapshots in iOS by using Fastlane Snapshot.

There is a config file named Snapfile where you can limit the devices list:

# A list of devices you want to take the screenshots from
devices([
  "iPhone 8",
  "iPhone 8 Plus",
  "iPhone SE",
  "iPhone X",
  "iPad Pro (12.9-inch)",
  "iPad Pro (9.7-inch)",
  "Apple TV 1080p"
])

Now my question is how can I restrict this list not specially to certain devices, just to anything in default configuration where it's an iPhone device as my target is iPhone.

And where is the default list of all devices?

0

There are 0 best solutions below