Cocoapods 下载库时的警告

图片描述

stackoverflow 上有类似的回答,但是没有能解决我的问题。

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

[!] The `SherryWeather [Release]` target overrides the `EMBEDDED_CONTENT_CONTAINS_SWIFT` build setting defined in `Pods/Target Support Files/Pods-SherryWeather/Pods-SherryWeather.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.
阅读 3.7k
2 个回答

加一句
inhibit_all_warnings!
试试看

Swift项目使用CocoaPods时,Podfile文件中,在platform :ios, '8.0'一行下需要有一行use_frameworks!。你试一下。

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题