Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner

iOS Other Linker Flags issue

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?

 

 

Tags (2)
0 Kudos
1 Reply
Highlighted

Hi Chao Yu,

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.

Thanks!

0 Kudos