6 Replies
      Latest reply on Jan 8, 2020 2:42 AM by LarryD
      joasle Level 1 Level 1 (0 points)

        Since updating to Xcode 10, my WatchKit app is broken.

         

        Every time I try to start the app I get the following error message:

         

        -[SPRemoteInterface createViewController:className:properties:contextID:info:gestureDescriptions:clientIdentifier:]:2909: Couldn't instantiate class _TtC32WatchKit_App_Extension19InterfaceController

        2018-10-01 21:51:41.579080+0200 WatchKit App Extension[2457:27053] [default] -[SPRemoteInterface createViewController:className:properties:contextID:info:gestureDescriptions:clientIdentifier:]:2910: Critical failure. Simulating crash: Condition failed:"NO". Couldn't instantiate class _TtC32WatchKit_App_Extension19InterfaceController

        (lldb)

         

        The viewcontroller is the initial viewcontroller set in the Storyboard file and the all targets, modules etc. are set correctly in the Storyboard and in the Inspector as far as I can tell.

         

        I created a new project with the same WatchKit Extension setup and I can start that app - it's just a problem with my existing project, where I've added an app extension.

         

        Also tried to delete the app extension and add a completely new one to my iOS project, but with no success.

         

        Does anyone have any suggestions on how to get this to work?