ios – 解决CocoaPods目标会覆盖编译器的警告
发布时间:2020-12-14 19:16:01 所属栏目:百科 来源:网络整理
导读:我正在使用 CocoaPods并收到以下警告.该错误表示将默认设置更改为$(继承),但这对于这些目标是不可能的.您只能从选项列表中进行选择.一切似乎都在起作用,所以我很高兴忽略这些警告,但是如果有人可以发光,我会很感激! [!] The `VitogoTests [Debug]` target o
我正在使用
CocoaPods并收到以下警告.该错误表示将默认设置更改为$(继承),但这对于这些目标是不可能的.您只能从选项列表中进行选择.一切似乎都在起作用,所以我很高兴忽略这些警告,但是如果有人可以发光,我会很感激!
[!] The `VitogoTests [Debug]` target overrides the `CLANG_CXX_LANGUAGE_STANDARD` build setting defined in `Pods/Target Support Files/Pods-VitogoTests/Pods-VitogoTests.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag,or - Remove the build settings from the target. [!] The `VitogoTests [Debug]` target overrides the `CLANG_CXX_LIBRARY` build setting defined in `Pods/Target Support Files/Pods-VitogoTests/Pods-VitogoTests.debug.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag,or - Remove the build settings from the target. [!] The `VitogoTests [Release]` target overrides the `CLANG_CXX_LANGUAGE_STANDARD` build setting defined in `Pods/Target Support Files/Pods-VitogoTests/Pods-VitogoTests.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag,or - Remove the build settings from the target. [!] The `VitogoTests [Release]` target overrides the `CLANG_CXX_LIBRARY` build setting defined in `Pods/Target Support Files/Pods-VitogoTests/Pods-VitogoTests.release.xcconfig'. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag,or - Remove the build settings from the target. 解决方法
我不能肯定地说,但是根据我的研究,警告来自cocoapods中的一个错误,所以忽略它们是安全的.
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |