美文网首页移动开发stackflow
ld: symbol(s) not found for arch

ld: symbol(s) not found for arch

作者: 划落永恒 | 来源:发表于2019-01-25 11:20 被阅读16次

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 arch

    本文链接:https://www.haomeiwen.com/subject/nsrmjqtx.html