当前位置:   article > 正文

IOS The linked library ‘xxxx.a/Framework‘ is missing

IOS The linked library ‘xxxx.a/Framework‘ is missing

Xcode升级到12后,打包framework时报错

The linked library 'xxxx.a/Framework' is missing one or more architectures required by this target: armv7.
  • 1

在这里插入图片描述
解决办法:

找到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))
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/351446
推荐阅读
相关标签
  

闽ICP备14008679号