Using usesDrawViewHierarchyInRect with the iOS 26.2 simulator results in a failing snapshot test with
failed - Snapshot comparison failed: "Images different"
and the following warning in the logs
CGBitmapContextInfoCreate: CGColorSpace which uses extended range requires floating point or CIF10 bitmap context
Demo app:
https://github.com/TimofeiKarpovR/SnapshotTesting-color-space-issue-demo/
The failure occurs while creating the image context here:
|
CGContextRef imageContext = CGBitmapContextCreate(imagePixels, |