Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 337
Sanjay Mangaroliya Avatar asked Aug 12 '17 05:08

Sanjay Mangaroliya


1 Answers

  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.
like image 79
Desmond Hume Avatar answered Oct 28 '22 07:10

Desmond Hume