Skip to content

fix(macos): Always try to create webview, even if webkit runtime doesn't get detected correctly - #14276

Merged
lucasfernog merged 1 commit into
tauri-apps:devfrom
haecker-felix:macos-webkit-webview
Oct 14, 2025
Merged

fix(macos): Always try to create webview, even if webkit runtime doesn't get detected correctly#14276
lucasfernog merged 1 commit into
tauri-apps:devfrom
haecker-felix:macos-webkit-webview

Conversation

@haecker-felix

Copy link
Copy Markdown
Contributor

I'm running a Tauri application inside a Pixi/Conda environment under macOS, and for some unknown reasons Tauri fails to detect the com.apple.WebKit bundle, which causes that no window / webview gets created, as webview_runtime_installed is false.

From what I know, it shouldn't be possible to use macOS without WebKit, as WebKit is integrated in the system image, so the webview_runtime_installed check is unnecessary - in theory. So, when the webview_runtime_installed check fails for whatever reason, try to create the webview under macOS anyway.

For testing purposes, I patched out that particular check, and was able to confirm that the webview was created perfectly fine, despite webview_runtime_installed being false (which wasn't true).

For more details, see:

Closes #13996

@haecker-felix
haecker-felix requested a review from a team as a code owner October 10, 2025 18:31
@github-actions

Copy link
Copy Markdown
Contributor

Package Changes Through 44cfd7a

There are 10 changes which include @tauri-apps/api with minor, tauri-cli with minor, tauri-utils with minor, tauri-runtime-wry with minor, tauri-runtime with minor, tauri with minor, tauri-bundler with minor, @tauri-apps/cli with minor, tauri-codegen 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-apps/api 2.8.0 2.9.0
tauri-utils 2.7.0 2.8.0
tauri-bundler 2.6.1 2.7.0
tauri-runtime 2.8.0 2.9.0
tauri-runtime-wry 2.8.1 2.9.0
tauri-codegen 2.4.0 2.4.1
tauri-macros 2.4.0 2.4.1
tauri-plugin 2.4.0 2.4.1
tauri-build 2.4.1 2.4.2
tauri 2.8.5 2.9.0
@tauri-apps/cli 2.8.4 2.9.0
tauri-cli 2.8.4 2.9.0

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


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

@lucasfernog
lucasfernog merged commit 684791e into tauri-apps:dev Oct 14, 2025
19 checks passed
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.

[bug] macOS: App crashes on startup after successful cargo tauri build --target universal-apple-darwin

2 participants