I'm using a pod as an internal library for my project.
I want to have some pods included only on release/debug builds, like Reveal/Sparkinspector.
Is there any way to define podspec
dependencies depending on the currently selected build configuration (build/release)?
With the recent release it's officially available now: http://blog.cocoapods.org/CocoaPods-0.34/
Use
pod 'Lookback', :configurations => ['Debug']
For anyone just finding this, this looks to be scheduled in the next release, per my answer here:
https://stackoverflow.com/a/25653469/490180
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With