Undefined symbols for architecture x86_64:

编译工程报错,错误信息:Undefined symbols for architecture x86_64:


可能有2种情况:

1.加入的SDK或者framework不支持64位

解决办法:Build Seetings-->Architectures改成"$(ARCHS_STANDARD_32_BIT)",Valid Architectures里面的值去掉“arm64”


2.SDK或者framework的链接错误

查看Framework Search Paths或者Library Search Paths里面的链接是否正确

你可能感兴趣的:(Undefined symbols for architecture x86_64:)