Skip to content

Conversation

@lucasfernog
Copy link
Member

move the stdout/stderr forward logic to Swift so it does not consume a Rust thread and never deadlocks on the simulator

I had to work on this because i'm facing #12172 again on latest Xcode (26.1)

move the stdout/stderr forward logic to Swift so it does not consume a Rust thread and never deadlocks on the simulator

I had to work on this because i'm facing #12172 again on latest Xcode (26.1)
@lucasfernog lucasfernog requested a review from a team as a code owner October 28, 2025 17:12
@github-project-automation github-project-automation bot moved this to 📬Proposal in Roadmap Oct 28, 2025
@lucasfernog
Copy link
Member Author

another benefit is that the Xcode console now properly shows all messages (OSLog events and stdout/stderr)

@github-actions
Copy link
Contributor

Package Changes Through 9e0bbff

There are 3 changes which include tauri-bundler with patch, tauri with patch, tauri-macros with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-bundler 2.7.1 2.7.2
tauri-macros 2.5.0 2.5.1
tauri 2.9.1 2.9.2
@tauri-apps/cli 2.9.1 2.9.2
tauri-cli 2.9.1 2.9.2

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@will3942
Copy link
Contributor

@lucasfernog This is great and affecting us locally - would be great to see this shipped.

@FabianLars
Copy link
Member

@will3942 did you try it in your project? did it work well?

@lucasfernog
Copy link
Member Author

sometimes it logs stdout/stderr messages twice, I didn't have much more time to investigate. But at least it never freezes, which is really annoying.

Copy link
Member

@FabianLars FabianLars left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(untested)

@FabianLars
Copy link
Member

sometimes it logs stdout/stderr messages twice, I didn't have much more time to investigate.

probably not too much of an issue, so can be looked into later imo

@lucasfernog lucasfernog merged commit 4b00130 into dev Nov 13, 2025
23 checks passed
@lucasfernog lucasfernog deleted the refactor/ios-stdout-stderr-log branch November 13, 2025 11:18
@github-project-automation github-project-automation bot moved this from 📬Proposal to 🔎 In audit in Roadmap Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🔎 In audit

Development

Successfully merging this pull request may close these issues.

4 participants