简体   繁体   中英

Parse error: Unknown Class PFImageView in Interface Builder file

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM