ViewBridge to RemoteViewService Terminated (...)

After updating to Sonoma, the following is logged in the Xcode console when an editable text field becomes key. This doesn't occur on any text field, but it seems to happen when the text field is within an NSPopover or an NSSavePanel.

ViewBridge to RemoteViewService Terminated: Error Domain=com.apple.ViewBridge Code=18 "(null)" UserInfo={com.apple.ViewBridge.error.hint=this process disconnected remote view controller -- benign unless unexpected, com.apple.ViewBridge.error.description=NSViewBridgeErrorCanceled}

What does this mean?

I meant Sequoia, not Sonoma.

Same: World of Warcraft (TextInputMacHelper) Subsystem: com.apple.TextUInputUI Category: CursorUI SystemUIServer even generated a GUI message when the icon for Remote Viewer disappeared from the top menu bar. All sharing / remote etc. turned on and firewalled. 🤔

yes, I have same issue. When it happen, the view change back to default view

Same issue here. After that message all breakpoints in Xcode change to 'unresolved', so the debugger won't stop there. Any hints or suggestions?

has it been solved?

I also get this error:

ViewBridge to RemoteViewService Terminated: Error Domain=com.apple.ViewBridge Code=18 "(null)" UserInfo={com.apple.ViewBridge.error.hint=this process disconnected remote view controller -- benign unless unexpected, com.apple.ViewBridge.error.description=NSViewBridgeErrorCanceled}

I'm also getting the same error!

ViewBridge to RemoteViewService Terminated: Error Domain=com.apple.ViewBridge Code=18 "(null)" UserInfo={com.apple.ViewBridge.error.hint=this process disconnected remote view controller -- benign unless unexpected, com.apple.ViewBridge.error.description=NSViewBridgeErrorCanceled}

I use Sequoia 15.4 Beta (24E5222f)

Xcode 16.2

Same here. Has this issue been solved?

Does anyone know what this message even means? I'm learning SwiftUI for macOS, and the message appears when I open a SettingsView for the second time. (So open, then close, then open again)

I created a minimal SwiftUI macOS app that consistently reproduces the same ViewBridge warning. The issue occurs only when using a SecureField view in a Settings scene, not in a standard WindowGroup scene.

Reproduction Steps

  1. Launch the application
  2. Open the Settings window (⌘,)
  3. Close the Settings window
  4. Open the Settings window again (⌘,)

The Warning

Upon reopening the Settings window, the following warning appears in the console:

ViewBridge to RemoteViewService Terminated: Error Domain=com.apple.ViewBridge Code=18 "(null)" UserInfo={com.apple.ViewBridge.error.hint=this process disconnected remote view controller -- benign unless unexpected, com.apple.ViewBridge.error.description=NSViewBridgeErrorCanceled}

Key Observations

  • The warning only occurs when a SecureField view is present in a Settings scene
  • The same SecureField view in a WindowGroup scene does not trigger the warning when repeatedly opening and closing the main window (⌘N)

Environment

  • OS: macOS 15.3.2
  • SDK: macOS 15.4
  • IDE: Xcode 16.3
  • Compiler: Swift 6

Sample Code

import SwiftUI

struct TestView: View {
    var body: some View {
        SecureField("Test", text: .constant(""))
    }
}

@main
struct TestApp: App {
    var body: some Scene {
        // Creating, closing, and repeatedly creating a new window (⌘N)
        // WILL NOT cause the warning
        WindowGroup {
            TestView()
        }

        // Creating, closing, and reopening Settings (⌘,)
        // WILL cause the ViewBridge warning on second opening
        Settings {
            TestView()
        }
    }
}
ViewBridge to RemoteViewService Terminated (...)
 
 
Q