New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CocoaPods mistakenly flagging a warning when using multiple build configurations #3316
Comments
Did you manually change the XCConfigs for the Beta configuration to "Pods.release" or was this done by CocoaPods? |
No manual changes @neonichu |
I've noticed this before. If you've already got Cocoapods set up, then duplicate an existing configuration to create a new one, this is what happens. I'd guess you copied Release here, hence why the targets all have pods.release set as the config. The way I've gotten round it is to set all the configurations to "none" then run pod install again. |
@keab42 your solution worked but it only set the configuration correctly for my main target. I had to set the other configurations manually on the other targets, which is not the end of the world I guess. I'm closing this issue as it was probably something cased by duplicating the build configuration as pointed out by @keab42 |
You can configure your custom build configurations, see http://guides.cocoapods.org/syntax/podfile.html#xcodeproj |
Thanks @neonichu I didn't know you could do that. That definitely solves the problem! |
I have three build configurations in my App,
Release
,Debug
&Beta
. When runningpod install
CocoaPods flags a warning about my project already having a custom config set. Everything works, but this is the warning I get:This is my
Podfile
:And my project's build configuration:
The text was updated successfully, but these errors were encountered: