Skip to content

Conversation

@bjorkert
Copy link
Contributor

@bjorkert bjorkert commented Aug 5, 2024

Inspired by this PR to Loop
LoopKit/LoopWorkspace#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

  • 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.

@bjorkert bjorkert requested a review from marionbarker August 5, 2024 09:01
@marionbarker marionbarker merged commit 72bc797 into dev Aug 5, 2024
@bjorkert bjorkert deleted the add_log_streaming_env_var branch August 5, 2024 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants