• CocoaPods did not set the base configuration of your project because your project already has a custom config set.


    今天在封装自己的消息推送SDK的时候,pod install 的时候,突然报这个错误,解决方式如下:
    $ pod install
    Analyzing dependencies
    Downloading dependencies
    Using AFNetworking (3.1.0)
    Using CocoaAsyncSocket (7.6.2)
    Generating Pods project
    Integrating client project
    Sending stats
    Pod installation complete! There are 2 dependencies from the Podfile and 2 total pods installed.
     
    [!] The Podfile contains framework or static library targets, for which the Podfile does not contain host targets (targets which embed the framework).
    If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that embeds these frameworks to make this message go away (e.g. a test target).
     
    [!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `NewsPushClientSDK` to `Pods/Target Support Files/Pods-NewsPushClientSDK/Pods-NewsPushClientSDK.debug.xcconfig` or include the `Pods/Target Support Files/Pods-NewsPushClientSDK/Pods-NewsPushClientSDK.debug.xcconfig` in your build configuration (`../Pods/Target Support Files/Pods-PushClientSDK/Pods-NewsPushClientSDK.debug.xcconfig`).
     
    [!] CocoaPods did not set the base configuration of your project because your project already has a custom config set. In order for CocoaPods integration to work at all, please either set the base configurations of the target `NewsPushClientSDK` to `Pods/Target Support Files/Pods-NewsPushClientSDK/Pods-NewsPushClientSDK.release.xcconfig` or include the `Pods/Target Support Files/Pods-NewsPushClientSDK/Pods-NewsPushClientSDK.release.xcconfig` in your build configuration (`../Pods/Target Support Files/Pods-PushClientSDK/Pods-NewsPushClientSDK.release.xcconfig`).
     
    解决如下:在项目里把下面的Configuration都改为None,然后在pod install
     
  • 相关阅读:
    一个简单的进程察看器
    查找素数的程序
    两种动态创建对象的方法
    我对企业管理信息系统的看法
    下定决心,准备买dopod535,做基于M$ smartphone 2003(ce.net 4.2)的开发了
    工作流中对于事务处理的思考
    第二次安装.net2005地感受
    贴一个Microsoft Business Framework的图片上来,可能有些兄弟还不知道。
    SizeOf与Structure与Managed Code
    校园招聘技术面试方面的小题目
  • 原文地址:https://www.cnblogs.com/richard-youth/p/8309247.html
Copyright © 2020-2023  润新知