10 月 20, 20202020-10-20 ios 真机正常,模拟器报错 by admin Leave Comment .PDF 📄xcode:12 ios:14.2 编译时提示如下类似错误: ld: warning: directory not found for option xxxx ld: library not found for -lXXXX clang: error: linker command failed with exit code 1 (use -v to see invocation) 解决:Build Settings->VALID_ARCHS在里面添加 x86_64