Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).

iOS Other Linker Flags issue

Chao-Yu_C_
Beginner
371 Views

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?

 

 

0 Kudos
1 Reply
Chunbo_H_Intel1
Employee
372 Views

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
Reply