Sunday, 21 February 2010

Undefined Symbols for Architecture i386


[resolved]: did not set correct settings of build targets, , why getting error. "red text" apparently caused bug in xcode 4, not go away when build successfully.

getting error below when try build. building ios app. idea why happening?

code:
undefined symbols architecture i386:   "_objc_class_$_sdwebimagemanager", referenced from:       objc-class-ref in viewcontroller.o ld: symbol(s) not found architecture i386 clang: error: linker command failed exit code 1 (use -v see invocation)
i using olivier poitrey's sdwebimage static library: https://github.com/rs/sdwebimage

here build phases:
[​img]

note: problem might red text, meaning compiler cannot locate .a file. supposedly, file produced when library built. however, can not seem find anywhere when build sdwebimage library separately.
 



Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment