美文网首页
Xcode12 The linked library "****

Xcode12 The linked library "****

作者: 古方月 | 来源:发表于2020-11-20 15:16 被阅读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))
    

    相关文章

      网友评论

          本文标题:Xcode12 The linked library "****

          本文链接:https://www.haomeiwen.com/subject/ghwdiktx.html