Andrew
Andrew

Reputation: 16051

Linker command failed with exit code 1 - not sure why

I'm not sure exactly why i'm getting this. It usually comes because of a missing framework, except its mentioning a class I already have in my project, and imported into the file it's saying the error is on. It says...

Undefined symbols for architecture armv7:
  "_OBJC_CLASS_$_ELCImagePickerController", referenced from:
      objc-class-ref in JCreateViewController.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)

JCreateViewController.m had this in the imports:

#import "ELCImagePickerController.h"

So i don't really know why it's giving me this error.

Any ideas?

Upvotes: 1

Views: 5781

Answers (2)

amar
amar

Reputation: 1

you can add resources to your projects build phases by simple select and add see this link

Upvotes: 0

Matt Wilding
Matt Wilding

Reputation: 20163

In the interest of providing an acceptable answer, from the comments:

Make sure ELCImagePickerController is included in your project's Compile Sources build phase.

Upvotes: 6

Related Questions