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

support Debug configurations like cocoapods? #2370

CocoaDebug opened this Issue Mar 11, 2018 · 3 comments


None yet
3 participants

CocoaDebug commented Mar 11, 2018

pod 'xxx', :configurations => ['Debug'] #cocoapods

Can Carthage support like this?
I just want to import the framework only in DEBUG, not RELEASE.


This comment has been minimized.


mdiep commented Mar 11, 2018

carthage has a --configuration flag that lets you build in Debug mode. carthage bootstrap --configuration Debug.


This comment has been minimized.


blender commented Mar 11, 2018

You can optionally link the framework in your link phase and surround use with #if DEBUG


This comment has been minimized.

CocoaDebug commented Mar 12, 2018


@CocoaDebug CocoaDebug closed this Mar 12, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment