When an iOS device is locked, logs are not accessible. The issue is the following:
The following line is getting executed for both Mac and iOS and sets the fileProtectionKey to .complete but for iOS, default value is .completeUntilFirstUserAuthentication
shouldn't we wrap this with #if os(macOS) ?
|
if #available(macOS 11.0, *) { |