Xcode – Why calling setenv("OS_ACTIVITY_DT_MODE", "disable", 1) does not affect logging?
Overly verbose logs produced by 3rd party libraries can be hidden in Swift by setting OS_ACTIVITY_MODE environmnet variable to disable in your run scheme - as shown on the image below. That silences all NSLog output from your app. I…