赞
踩
Xcode升级到12后,打包framework时报错
The linked library 'xxxx.a/Framework' is missing one or more architectures required by this target: armv7.
解决办法:
找到Build setting ->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))
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。