When you add embedded infrastructure to your Xcode project, how do you distinguish between Debug and Release?

When I add a framework to my Xcode project, which should be built into my application package, how do I make two different parameters for debugging or releasing it (I have two versions of the framework, one compiled for release and one for debugging).

Here is what I mean:

enter image description here

As you can see, with this configuration, it will simply copy the CEF / Debug file, whether it is compiled in Release or Debug mode.

Ideally, I want you to have something like settings:

enter image description here

+4
source share
2 answers

, (, ), var DYLD_IMAGE_SUFFIX. , () CEF.framework/Versions/Curent/CEF CEF.framework/Versions/Curent/CEF_debug, env var DYLD_IMAGE_SUFFIX = _debug, .

0

. . , (, Debug2) . , Debug2, . Debug2. .

0

All Articles