Parse error: Unknown Class PFImageView in Interface Builder file

211 views Asked by At

I implemented Parse and ParseUI, and successfully use the PFImageView, load images without any error. But suddenly I encounter:

Unknown class _TtC6Roster11PFImageView in Interface Builder file.

I have searched for similar error, and I found some:

I have tried:

PFImageView.self

...in Application delegate didFinishLaunchingWithOptions but that doesn't seem to work.

Thanks.

1

There are 1 answers

0
Firo On

Most likely the bad reference is due to Xcode storing bad IB data. You will experience similar issues if you delete IB objects (especially Xibs) or if you start working with other people on projects and are pulling/pushing updated code.

One of the simplest things to try (that generally solves these issues) is to perform a clean (build -> clean, or ⇧⌘K). This "Removes all the product files, as well as any object files (.o files) or other intermediate files created during the build process (glossary)" and works pretty well.