Compilation error in UIViewControllerCoordinator:
Coordinator/Sources/Intramodular/Bridging/AppKitOrUIKitViewControllerCoordinatorType.swift:57:13 Cannot find 'runtimeIssue' in scope
public override func triggerPublisher(for route: Route) -> AnyPublisher<ViewTransitionContext, Error> {
guard let rootViewController = rootViewController else {
runtimeIssue("Could not resolve a root view controller.") // <--- Here
return .failure(TriggerError.rootViewControllerMissing)
}
return transition(for: route)
.environment(environmentInsertions)
.triggerPublisher(in: rootViewController, animated: true, coordinator: self)
.handleOutput { [weak self] _ in
self?.updateAllChildren()
}
.eraseToAnyPublisher()
}
Compilation error in UIViewControllerCoordinator:
Coordinator/Sources/Intramodular/Bridging/AppKitOrUIKitViewControllerCoordinatorType.swift:57:13 Cannot find 'runtimeIssue' in scope