ios 真机正常,模拟器报错

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

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注