1
votes

I came across an issue yesterday where I am not seeing any of my custom classes in Custom Class or Module fields under Identity Inspector. This causes my app to break every time I run it, with error such as 'Unknown class x in Interface Builder file'

I browsed through tens and twenties of solutions (literally!) that were available in Stack and other sites. But none of them is helping at all!

Xcode 6 Strange Bug: Unknown class in Interface Builder file

"Unknown class <MyClass> in Interface Builder file" error at runtime

Unknown class FirstViewController in Interface Builder file

https://parse.com/questions/using-pfloginviewcontroller-and-pfsignupviewcontroller-with-storyboarding-throws-unknown-class-in-interface-builder-file-error

My learning has halted since yesterday due to small sh*** issue, has anybody encountered and resolved this issue before, please advise!

I also thought to re-install xcode but when I saw it was ~2.5G size, I again decided to give it a try and came to Stack!

1

1 Answers

1
votes

Sorry, I forgot post how I could fix this issue.

Actually, it appeared to be a silly fix but I think it has to do with links. I simply changed the project folder location with a different name. I chose a folder name other than "iOS". Then it worked.

Hope it might help others.

Thanks