iOS Xcode12在Building时报错
2020-11-13 本文已影响0人
邓布利多教授
... ‘xxxx.a’ is missing one or more architectures required by this target: armv7
找到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))
添加完页面显示如下:
image.png