1

I'm trying to use Dave DeLongs DDFileReader Class but I'm getting an error while building.

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

The "DDFileReader.m" has a set target membership and is under build phases in the "compile sources"

I'm on 10.8.3 with XCode 4.6.2
I'm sure this is a noob error but I still would appreciate the help.

Thanks

Community
  • 1
  • 1
fabianmoronzirfas
  • 4,091
  • 4
  • 24
  • 41

1 Answers1

2

When I look in your DDFileReader.m file that you've checked into GitHub, the entire contents is:

//DDFileReader.m

#import "DDFileReader.h"

@interface NSData (DDAdditions)

@end

You need to have the entire code snippet from the .m file copied in there.

Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215