[!]CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order forCocoaPods integration towork at all, please either set the base configurations of the target `LoginApp` to `TargetSupportFiles/Pods-LoginApp/Pods-LoginApp.debug.xcconfig` or include the `TargetSupportFiles/Pods-LoginApp/Pods-LoginApp.debug.xcconfig` in your build configuration (`LoginApp/Config/LoginApp.Dev.xcconfig`).[!]CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order forCocoaPods integration towork at all, please either set the base configurations of the target `LoginApp` to `TargetSupportFiles/Pods-LoginApp/Pods-LoginApp.beta.xcconfig` or include the `TargetSupportFiles/Pods-LoginApp/Pods-LoginApp.beta.xcconfig` in your build configuration (`LoginApp/Config/LoginApp.Beta.xcconfig`).[!]CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order forCocoaPods integration towork at all, please either set the base configurations of the target `LoginApp` to `TargetSupportFiles/Pods-LoginApp/Pods-LoginApp.release.xcconfig` or include the `TargetSupportFiles/Pods-LoginApp/Pods-LoginApp.release.xcconfig` in your build configuration (`LoginApp/Config/LoginApp.Release.xcconfig`).
这个警告就是 Cocoapods 检测到了工程手动配置了 config 文件,但是它没有自动兼容配置,需要我们将 Cocoapods 生成的 config 文件导入到自定义的 config 文件里。例如,在 beta 配置文件中,通过 include + 文件路径导入,导入 pod 的配置文件之后在进行 pod install,可以发现警告消除了,如下:
#include "Pods/Target Support Files/Pods-LoginApp/Pods-LoginApp.beta.xcconfig"