更新Cocaopods 导致 报错

昨天闲着蛋碎更新了下pods,结果出了个问题,这么搜都没搜到对的解决办法,后来还是官网论坛,各种扒内容,终于找到解决方案,错误描述如下:

Undefined symbols for architecture arm64:

"nanopb_release_indoor_navi(void*)", referenced from:

nanopb_release_repeated_indoor_navis(pb_callback_s*) in BaiduMapAPI_Map(map_walk_plan_tools.pb.o)

"nanopb_decode_repeated_indoornavis(pb_istream_s*, pb_field_s const*, void**)", referenced from:

nanopb_decode_walk_plan(void*, int, void*) in BaiduMapAPI_Map(map_walk_plan_tools.pb.o)

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)


更新Cocaopods 导致 报错_第1张图片

这个问题我看人家用过各种各样的办法,但我都不合适,最后我的解决办法还是Xcode-Build Settings中,Other Linker Flags 设置加上 -ObjC,假如,这里面配置有all_load,记得一定要删除这个加上-ObjC,反正我是这么解决的,希望对大家也有帮助。

你可能感兴趣的:(更新Cocaopods 导致 报错)