facebookarchive / ios-snapshot-test-case

Snapshot view unit tests for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My snapshot images are different than on my peer machines

FilipZawada opened this issue · comments

My peers' computers produced slightly different images than mine. This happened:

  • on the same simulator device with same iOS version
  • exactly same code
  • everything is the same,
    and yet, images are slightly different (mainly transparency).

Now, I finally found a reason. Months ago I set my simulator > Debug > Graphics Quality Override > Low Quality. While it should have been device default as my peers have.

This is tricky, since restarting and resetting simulator doesn't reset this option, you have to do this manually.

This issue is resolved, I'm writing this here so it's available for others in need.