Reputation: 5532
Is there a way to use a dependency only in development? I don't want to ship the Reveal SDK :/
I'm searching for something similar to
#ifdef DEBUG
Can't find anything in the CocoaPods docs.
Upvotes: 1
Views: 3030
Reputation: 16714
There is an issue on the CocoaPods github that is discussing the ability to dynamically link a pod based on the selected build configuration, but there is currently no release that supports this feature. According to the maintainers, the feature will be released in the next version of CocoaPods.
Upvotes: 1
Reputation: 1892
Looks like it's scheduled for next release. See here:
https://github.com/CocoaPods/CocoaPods/issues/731
Upvotes: 1