This PR resolves the logging initialization error when building to an iOS 17.5.1 device by adding the IDEPreferLogStreaming environment variable to the Launch and Profile actions in the LoopFollow scheme.
Summary of Changes
Added: IDEPreferLogStreaming=YES to .xcscheme file.
Fixes: Error message "Logging Error: Failed to initialize logging system. Log messages may be missing."
Result
The initial error message is no longer seen in the Xcode debug log.
Inspired by this PR to Loop https://github.com/LoopKit/LoopWorkspace/pull/183
This PR resolves the logging initialization error when building to an iOS 17.5.1 device by adding the
IDEPreferLogStreaming
environment variable to the Launch and Profile actions in the LoopFollow scheme.Summary of Changes
IDEPreferLogStreaming=YES
to.xcscheme
file.Result
The initial error message is no longer seen in the Xcode debug log.