[!] The `xxx [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting ...

cocoapods报错:

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

如下图

image.png

解决方案黄色字体中已经给出了:

  • Use the $(inherited) flag, or
  • Remove the build settings from the target.

复制"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES"在TARGETS -> Build Settings -> 搜索框粘贴"ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES"并搜索,在输入框中输入$(inherited) 或者 直接将ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES该项删除

image.png
image.png
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容