Intel® Collaboration Suite for WebRTC
Community support and discussions on the Intel® Collaboration Suite for WebRTC (Intel® CS for WebRTC).
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
For the latest information on Intel’s response to the Log4j/Log4Shell vulnerability, please see Intel-SA-00646

iOS Other Linker Flags issue

Chao-Yu_C_
Beginner
147 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
147 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!

Reply