FBSnapshotTestCase images missing from test results
OS_ACTIVITY_MODE environment variable is set to
this removes all system logs. It also removes
NSLog from your
application on iOS 11.
The solution is to set
also removes all system logs, but keeps
NSLog and the log lines
containing the paths to the generated screenshots.
To specify/change the setting for
OS_ACTIVITY_MODE in Xcode, follow
Open the Product menu and select Scheme → Edit Scheme…. The scheme dialog appears:
Click Run in the left-hand panel of the dialog.
Click Arguments in the top navigation of the dialog.
In the Environment Variables pane, create/set the value for