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

Closed
CocoaDebug opened this Issue Mar 11, 2018 · 3 comments

Comments

Projects
None yet
3 participants
@CocoaDebug

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.

@mdiep

This comment has been minimized.

Member

mdiep commented Mar 11, 2018

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

@blender

This comment has been minimized.

Member

blender commented Mar 11, 2018

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

@CocoaDebug

This comment has been minimized.

CocoaDebug commented Mar 12, 2018

Thanks

@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