ios - Cocoapods 下载库时的警告

 新视觉9927 发布于 2022-10-31 12:41

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.
2 个回答
  • Swift项目使用CocoaPods时,Podfile文件中,在platform :ios, '8.0'一行下需要有一行use_frameworks!。你试一下。

    2022-10-31 22:46 回答
  • 加一句
    inhibit_all_warnings!
    试试看

    2022-10-31 22:46 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有