CocoaPods dependency only on debug/release build

|▌冷眼眸甩不掉的悲伤 提交于 2019-11-28 20:13:05

With the recent release it's officially available now: http://blog.cocoapods.org/CocoaPods-0.34/

Use

pod 'Lookback', :configurations => ['Debug']
Matt S.

For anyone just finding this, this looks to be scheduled in the next release, per my answer here:

https://stackoverflow.com/a/25653469/490180

see the multiple targets section here: https://github.com/CocoaPods/CocoaPods/wiki/A-Podfile

e.g.

target :debug do
    pod 'TestFlight'
end
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!