Xcode 7.1 Swift 2 Unknown class in Interface Builder file

前端 未结 8 1185
一个人的身影
一个人的身影 2020-12-05 01:33

I\'ve created new Cocoa Touch File. Named it SwipingViewController. \"enter

Then try t

8条回答
  •  借酒劲吻你
    2020-12-05 02:13

    Still seeing this problem with XCode 8.2.1, but I am able to fix the problem by modify these in the storyboard xml file:

    1. Delete customModuleProvider="target" in the viewController tag:

      - 
      + 
      
    2. Delete customModule="Flights" customModuleProvider="target" in the widget tag (in my case, a label tag):

      - 

    I find that step 1 is very important too to resolve the crash/warning and cannot be skipped.

提交回复
热议问题