美文网首页
执行pod install时terminal警告去除

执行pod install时terminal警告去除

作者: Sweet丶 | 来源:发表于2021-04-25 11:25 被阅读0次

执行pod install之后终端出现警告:

VALID_ARCHS
[!] The `xxx [Debug]` target overrides the `VALID_ARCHS` build setting defined in `Pods/Target Support Files/xxx.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The `xxx [Release]` target overrides the `VALID_ARCHS` build setting defined in `Pods/Target Support Files/xxx.release.xcconfig'. This can lead to problems with the CocoaPods installation

上面的警告是说项目中设置的target架构与pod库中的支持的架构不同,有可能导致编译错误,去除办法:项目中搜索VALID_ARCHS, 在自己的target中将对应的这个设置修改为$(inherited)

VALID_ARCHS警告去除.png
ENABLE_BITCODE
[!] The `XMSport [Debug]` target overrides the `ENABLE_BITCODE` build setting defined in `Pods/Target Support Files/Pods-XMSport/Pods-XMSport.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

解决办法类似

ENABLE_BITCODE警告去除.png

相关文章

网友评论

      本文标题:执行pod install时terminal警告去除

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