简体   繁体   中英

Build Time Error: Receiver type * for for instance message is a forward declaration

When I run my xcode project there is no error and app works perfectly.

But when I Archive it, it gives error like

receiver type *** for instance message is a forward declaration

  1. Locate the .h file where you are using @class *** where *** is the receiver type from the error message.
  2. Go to the .m file of the same name and make sure that you've imported the .h file or framework where *** type is declared.

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