gpt4 book ai didi

ios - WatchKit 错误 - 无法找到接口(interface) Controller 类

转载 作者:行者123 更新时间:2023-12-01 18:46:58 25 4
gpt4 key购买 nike

the app was working fine, I was doing some adjustment and suddenly it stopped loading. 
I launch the simulator and the storyboard doesn't start.
I get this error:

WatchKit error - unable to find interface controller class
2016-01-18 11:56:30.019 ABWatch Extension[13593:122454] WatchKit error - unable to find interface controller class '_TtC17ABWatch_Extension23HomeInterfaceController' to instantiate
2016-01-18 11:56:30.027 ABWatch Extension[13593:122426] *********** ERROR -[SPRemoteInterface _interfaceControllerClientIDForControllerID:] clientIdentifier for interfaceControllerID:35160002 not found

最佳答案

请检查 WatchKit App 中的 Initial View Controller。
确保您为界面 View Controller 使用正确的标识符。

enter image description here

还要确保您没有结合分层和基于页面的界面样式。

我也面临同样的错误同样的问题。

我只是将 pushController 替换为 presentController。
如果您正在使用self.pushControllerWithName("EnterPin", context: nil)然后替换为

self.presentControllerWithName("EnterPin", context: nil)

我正在使用代码来呈现 View Controller 。
    @IBAction func pushToEnterPinController() {

self.presentControllerWithName("EnterPin", context: nil)

}

关于ios - WatchKit 错误 - 无法找到接口(interface) Controller 类,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34853116/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com