Xcode 6 Unknown ViewController class in Interface Builder file

I deleted all the source files (Main.storyboard and ViewController.M and ViewController.H) and I created a new storyboard (I have my own reasons), but when the runtime error creates an “Unknown ViewController class in the File Builder interface” I tried to delete module text as shown elsewhere but still nothing.

Any suggestions?

+2
source share
1 answer

Sometimes Xcode skipped customModule = "AppName" customModuleProvider = "target"

To fix this, open the storyboard as source code and replace this line:

<viewController storyboardIdentifier="StoryboardId" id="SomeID" customClass="CustomClass" sceneMemberID="viewController"> 

:

 <viewController storyboardIdentifier="StoryboardId" id="SomeID" customClass="CustomClass" customModule="AppName" customModuleProvider="target" sceneMemberID="viewController"> 
+6
source

Source: https://habr.com/ru/post/1247597/


All Articles