Ios WatchKit错误-找不到接口控制器类
请检查WatchKit应用程序中的初始视图控制器。 确保您正在为接口视图控制器使用正确的标识符 还要确保您没有将层次结构和基于页面的界面样式组合在一起 我也面临同样的问题和同样的错误 我只是用presentController替换pushController。 如果您正在使用Ios WatchKit错误-找不到接口控制器类,ios,watchkit,Ios,Watchkit,请检查WatchKit应用程序中的初始视图控制器。 确保您正在为接口视图控制器使用正确的标识符 还要确保您没有将层次结构和基于页面的界面样式组合在一起 我也面临同样的问题和同样的错误 我只是用presentController替换pushController。 如果您正在使用 self.pushControllerWithName(“EnterPin”,上下文:nil)然后替换为 the app was working fine, I was doing some adjustment and
self.pushControllerWithName(“EnterPin”,上下文:nil)
然后替换为
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
我正在使用代码演示视图控件
self.presentControllerWithName("EnterPin", context: nil)
对于我来说,从上面的屏幕截图更新自定义类下的模块是可行的。(我更改了我的应用程序名)在Interface Builder中,在InterfaceController的自定义类部分设置正确的模块。它可能是空的 您是否使用接口控制器名为
Idetifier
的属性在情节提要上进行了更改?
@IBAction func pushToEnterPinController() {
self.presentControllerWithName("EnterPin", context: nil)
}