0

My Error is

Undefined symbols for architecture i386:
  "_OBJC_CLASS_$_BCSharingViewController", referenced from:
      objc-class-ref in ViewController.o

Error picture

RiaD
  • 46,822
  • 11
  • 79
  • 123
Ramesh Boosa
  • 198
  • 8
  • Did you try googling this problem? – Parth Bhatt Jul 13 '13 at 09:09
  • possible duplicate of [Undefined symbols for architecture i386: \_OBJC\_CLASS\_$\_SKPSMTPMessage", referenced from: error](http://stackoverflow.com/questions/6984368/undefined-symbols-for-architecture-i386-objc-class-skpsmtpmessage-refere) – Parth Bhatt Jul 13 '13 at 09:12
  • Which API does BCSharingViewController belong to? Is this a ViewController created by you? – Parth Bhatt Jul 13 '13 at 09:19

1 Answers1

0

You can get this type of error if your class .m file is not listed under the "Compile Sources" step

of the "Build Phases" tab of your target. Insert BCSharingViewController.m class in Build Phases

manually & then check.

Vishal
  • 8,246
  • 6
  • 37
  • 52
  • Check this link: http://stackoverflow.com/questions/6984368/undefined-symbols-for-architecture-i386-objc-class-skpsmtpmessage-refere – Vishal Jul 13 '13 at 06:29
  • if its .m file is present in your code then check in compile sources that BCSharingViewController.m class is present there or not.....if not then add it manually there & then check. – Vishal Jul 13 '13 at 07:34
  • 1
    Have you tried all the solution mention in link that i have provided to you? – Vishal Jul 13 '13 at 08:24