引入第三方库的时候,在终端上会显示下面的警告,是警告
[!] The `XXX [Debug]` target overrides the `CLANG_CXX_LANGUAGE_STANDARD` build setting defined in `Pods/Target Support Files/Pods-Youxiake/Pods-Youxiake.test_debug.xcconfig'. This can lead to problems with the CocoaPods installation
- Use the `$(inherited)` flag, or
- Remove the build settings from the target.
解决办法
- 找到项目的
.xcodeproj
文件,显示包内容,找到project.pbxproj
文件。

注意⚠️:操作前要备份一下project.pbxproj文件
- 打开
project.pbxproj
文件,全局搜索对应的关键词CLANG_CXX_LANGUAGE_STANDARD
,然后把涉及的相关内容删除,完成后重新更新Pod即可
网友评论