CocoaPods did not set the base configuration of your project because your project already has a cust...

今天在封装自己的消息推送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
 

转载于:https://www.cnblogs.com/richard-youth/p/8309247.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值