snapshot/lib/assets/SnapshotHelper.swift in fastlane-2.204.2 vs snapshot/lib/assets/SnapshotHelper.swift in fastlane-2.204.3
- old
+ new
@@ -163,11 +163,11 @@
NSLog("XCUIApplication is not set. Please call setupSnapshot(app) before snapshot().")
return
}
let screenshot = XCUIScreen.main.screenshot()
- #if os(iOS)
+ #if os(iOS) && !targetEnvironment(macCatalyst)
let image = XCUIDevice.shared.orientation.isLandscape ? fixLandscapeOrientation(image: screenshot.image) : screenshot.image
#else
let image = screenshot.image
#endif
@@ -304,6 +304,6 @@
}
}
// Please don't remove the lines below
// They are used to detect outdated configuration files
-// SnapshotHelperVersion [1.27]
+// SnapshotHelperVersion [1.28]