Xcode12 The linked library "****
2020-11-20 本文已影响0人
古方月
升级xcode12后,项目在run debug时候是正常运行的,但是在build或者run release的时候就会出现如标题的红色错误。
解决方案:
在Target - Build Settings - Excluded Architectures添加如下:
EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_simulator__NATIVE_ARCH_64_BIT_x86_64=arm64 arm64e armv7 armv7s armv6 armv8 EXCLUDED_ARCHS=$(inherited) $(EXCLUDED_ARCHS__EFFECTIVE_PLATFORM_SUFFIX_$(EFFECTIVE_PLATFORM_SUFFIX)__NATIVE_ARCH_64_BIT_$(NATIVE_ARCH_64_BIT))