![]() ![]()
Sorry, after trying several post I found one solution, delete the folder of the simulator in /.Library/Application\ Support/iPhone\ Simulator/ and removing the class and re-adding it. XCode Unknown class ***** in Interface Builder file Change that to your app module or just remove and enter class again, it should set to default like this: In storyboard below the Custom Class field the module is set to None. Search for jobs related to Unknown class in interface builder file or hire on the worlds largest freelancing marketplace with 21m jobs. Xcode 7.1 Swift 2 Unknown class in Interface Builder file if it is, click the small 'x' to delete the reference and build again. Under 'Referencing Outlets' make sure that your object isn't still connected to the old property name. Select the object in IB and go to the 'Connections Inspector'. h/.m which you've already connected up to File's Owner in the nib. It is cause when you change the name of a IBOutlet property in your. Xcode 6 Unknown class in Interface Builder file Where the important aspect is customClass="ViewController"īy taking this, and editing my project's TutorialView.storyboard by hand and adding in customClass="TutorialViewController I resolved the error. swift file in the XML, which looks like this What ended up solving my problem was creating a new project and seeing how the original Main.storyboard references its. Unknown class in Interface Builder file - Xcode 8 Swift 3 #SPOTMENU UNKNOWN WINDOW CLASS IN INTERFACE BUILDER FILE CODE#To fix it, open storyboard as source code and replace this line: Sometimes Xcode missed customModule="AppName" customModuleProvider="target" XCode 6.3 bug: Unknown class in Interface Builder file Here is an image to make things more clear: Curiously, this view controller had a nibName which corresponded to the object file and Xib file that I had previously deleted. The class type of the first two was correct, but the third would just be a UIViewController. You can also try pressing enter inside the class text box (although this usually is to resolve a different issue). Even though I had deleted the third object, as previously explained, three objects would always be passed in. Interestingly the app runs perfectly in teh simulator, but crashed on my phone. I haven't changed any class names or storyboards. Note that if pressing enter inside the Module text box doesn't work, try selecting the arrow to the right and manually select your current module, then clear the text box and press enter. However I've noticed that the dreaded 'Unknown class in Interface Builder file' is crashing my app. ![]() But there was no visual indication of this in the inspector. That's it! The current module for all of my custom objects must have been internally incorrectly set somehow in Xcode 6 beta 4. Setting the Module to NVActivityIndicatorView fixed it for me. Or (update 2022), check the "Inherit Module From Target" option. I was getting a crash (unknown method sent to instance) when adding the view to the storyboard and trying to start animation from my class.Click inside the Module text box, and press enter.Then with those objects selected, open the identity inspector and under "Custom Class" you should see the Module option. To resolve this issue, you need to select each of your custom class objects in Storyboard (this includes any custom views, even the custom view controllers themselves). I figured I'd answer my question and leave it here for anyone else who may face this issue when using Xcode 6 beta 4. ![]() ![]() I resolved this issue as I was typing the question. I also checked my outlets and there are no errors there as well, storyboard can find my TodayViewController class so I have no clue what the problem can be.Xcode 6 Bug: Unknown class in Interface Builder file xib files but this did not solve the problem, I still get the same error. 08:45:41.850 MyWidget *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: ': this class is not key value coding-compliant for the key loginViewNew.'Īt first I thought it was caused because in the properties under Interface Builder Document builds for was set to iOS13 and later, so I changed this in my storyboard and all my other. 08:45:41.741 MyWidget Unknown class _TtC14MyWidget19TodayViewController in Interface Builder file. I'm building a today extension which works fine on iOS13 but somehow it doesn't work for the versions below. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |