Replies: 7 comments 9 replies
-
I've been experiencing this too. |
Beta Was this translation helpful? Give feedback.
-
I have noticed this too in a similar setup. |
Beta Was this translation helpful? Give feedback.
-
IIRC SPM doesn't support custom configurations for now (only debug and release) and Xcode tries to map your configuration name to either debug or release. If you rename your configuration to DevDebug Xcode might build your SPM dependencies with the debug configuration. You might want to differentiate configurations from schemes and use only two configurations and a scheme per environment. |
Beta Was this translation helpful? Give feedback.
-
I solved by renaming the configuration to Debug for now. Thanks for the pointer @AlexisQapa! |
Beta Was this translation helpful? Give feedback.
-
This is a known issue being tracked by Apple
I'm going to convert this to a discussion in case folks would like to share their various workarounds. |
Beta Was this translation helpful? Give feedback.
-
Did anyone ever determine a workaround to this that didn't include renaming configurations? |
Beta Was this translation helpful? Give feedback.
-
I have a similar issue but with the |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the bug
Not sure if this an issue of CA or something I might have missed but I am facing the following:
I have created a new project, renamed debug scheme to dev and copied it to create another one called staging.
I have also edited each scheme to use the correct configuration.
I did not edit/delete/create any new Custom Flags / Active compilation conditions.
When I call
.debug()
in one of my reducers it does not print anything to the console.I have also tried to use
#if DEBUG
directly on my project, which surprisingly, works.To Reproduce
The behaviour I am seeing can be reproduced here:
CADebugBug.zip
Expected behavior
.debug()
should print on the console.Environment
Beta Was this translation helpful? Give feedback.
All reactions