Undefined symbols for architecture i386: “_utf8_nextCharSafeBody”, referenced from:"

后端 未结 3 628
长发绾君心
长发绾君心 2020-12-31 12:05

How to clear this error. Please help me, I don\'t know about socket process

Undefined symbols for architecture i386: \"_utf8_nextCharSafeBody\", referenced from:

3条回答
  •  猫巷女王i
    2020-12-31 12:25

    It's nothing to do with sockets. The target binary you are building cannot be linked because it's missing a binary for the i386 architecture. Basically, you may have a .o file for that symbol - _utf8_nextCharSafeBody - for armv, but you don't have a .o object file binary for the simulator (i386). Check the supported architectures in your static library dependency and add i386.

    It's worth reading up on the basics of building in Xcode, specifically compilation and linkage phases.

提交回复
热议问题