-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Closed
Labels
platform: macOSstatus: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuestype: bug
Description
Describe the bug
My program crashed when I called setTheme.
Macbook M2 Pro, MacOS Sonoma 14.5 (23F79), tauri 2.5.1
import { setTheme } from '@tauri-apps/api/app';
function switchTheme() {
setTheme('dark');
}permission declared in tauri.conf.json
"permissions": {
"core:app:default",
"core:app:allow-set-app-theme",
}
Reproduction
No response
Expected behavior
No response
Full tauri info output
2025-05-14 18:16:52.927170+0800 qino-feed-client[53816:11363262] [ProcessSuspension] 0x116024900 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'XPCConnectionTerminationWatchdog' for process with PID=54376, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}
2025-05-14 18:16:52.929994+0800 qino-feed-client[53816:11363262] [assertion] Error acquiring assertion: <Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}>
2025-05-14 18:16:52.930023+0800 qino-feed-client[53816:11363262] [ProcessSuspension] 0x116024960 - ProcessAssertion::acquireSync Failed to acquire RBS assertion 'WebProcess NearSuspended Assertion' for process with PID=54376, error: Error Domain=RBSServiceErrorDomain Code=1 "target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit" UserInfo={NSLocalizedFailureReason=target is not running or doesn't have entitlement com.apple.runningboard.assertions.webkit}
2025-05-14 18:16:59.289129+0800 qino-feed-client[53816:11360392] [miscellany] CLIENT ERROR: TUINSRemoteViewController does not override -viewServiceDidTerminateWithError: and thus cannot react to catastrophic errors beyond logging them
Exception: EXC_BREAKPOINT (code=1, subcode=0x19ae7e4f4)
Exception: EXC_BREAKPOINT (code=1, subcode=0x19ae7e4f4)
Exception: EXC_BREAKPOINT (code=1, subcode=0x19ae7e4f4)
Metadata
Metadata
Assignees
Labels
platform: macOSstatus: needs triageThis issue needs to triage, applied to new issuesThis issue needs to triage, applied to new issuestype: bug