ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code...

ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
问题1:我在项目项目链接了arm64的动态库,但是工程包含了arm7
解决1:在 Build Setting 中,搜索 architecture ,找到 Valid Architectures 只留下arm64和arm64e,
搜索 Other Linker Flags 增加 -lz或-ObjC。

你可能感兴趣的:(ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code...)