2011年11月2日 星期三

Using TBXML have Link error

using TBXML have the error:

Undefined symbols for architecture i386:
  "_deflateInit2_", referenced from:
      -[ASIDataCompressor setupStream] in ASIDataCompressor.o
  "_deflateEnd", referenced from:
      -[ASIDataCompressor closeStream] in ASIDataCompressor.o
  "_deflate", referenced from:
      -[ASIDataCompressor compressBytes:length:error:shouldFinish:] in ASIDataCompressor.o
  "_inflateInit2_", referenced from:
      -[ASIDataDecompressor setupStream] in ASIDataDecompressor.o
  "_inflateEnd", referenced from:
      -[ASIDataDecompressor closeStream] in ASIDataDecompressor.o
  "_inflate", referenced from:
      -[ASIDataDecompressor uncompressBytes:length:error:] in ASIDataDecompressor.o
  "_OBJC_CLASS_$_OMAppMeasurement", referenced from:
      objc-class-ref in OmnitureService.o

ANS:
1 [Link Binary With Libaries] Add libz.1.5.dylib
http://stackoverflow.com/questions/7118474/help-me-out-with-error-deflateinit2

2.Add Libraries - step by step:
http://allseeing-i.com/ASIHTTPRequest/Setup-instructions

沒有留言:

張貼留言