when I use the sample to build application.
I need download some image from web.
so I use cocoapod to get SDWebImage library
after pod install
I get two errors :
Undefined symbols for architecture armv7:
"_utf8_nextCharSafeBody", referenced from:
-[SRWebSocket _innerPumpScanner] in libwoogeen.a(socketrocket.SRWebSocket.o)
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If the Other Linker Flags has -Obj flag, the error happened.
But if I remove the -Obj, SDWebImage will crash.
Would you please give some ideas how can I fix this problem?
Hi Chao Yu,
Please try to link libicucore or using –force_load your library instead of ObjC flag.
Let me know if you have further issues.
For more complete information about compiler optimizations, see our Optimization Notice.