Thursday, August 24, 2017

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

Leave a Comment

When i run my xcode project there is no error and app works perfect,

but when i Archive it, it gives error like

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

1 Answers

Answers 1

  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.
If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment