• 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
     
  • 相关阅读:
    算法很美(一)
    pytest学习(四)
    pytest学习(三)
    pytest学习(二)
    pytest学习(一)
    HTTP协议详细介绍,面试详全强助攻!
    Docker实战总结
    微信小程序测试整理
    这些用例设计题,你在面试时遇到过吗?
    测试面试题集-Dubbo常见面试题(12)
  • 原文地址:https://www.cnblogs.com/richard-youth/p/8309247.html
Copyright © 2020-2023  润新知