When I run react-native, and then try to get the console logs through react-native log-ios
, I get a flooding of unhelpful logs that come from Xcode as is described in here and here.
My problem is that when going through react-native, Xcode is not explicitly open and hence I cannot apply the fix described in the links.
This fix is to set the OS_ACTIVITY_MODE
variable to Disable
from the product->scheme menu of Xcode.
Is there a way to set this environment variable when working from react-native?
Or any other way to this SO_NOAPNFALLBK
error that floods the logs?