Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add IDEPreferLogStreaming env. variable to Launch and Profile actions #322

Merged
merged 1 commit into from
Aug 5, 2024

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.

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

2 participants