≈ the.bay.news

`NDEBUG` vs SPM dependencies

Swift Forums
`NDEBUG` vs SPM dependencies
DEBUG is being passed to SPM dependencies when the app configuration is named "debug", "development" or contains those names as substrings - good to know. RELEASE is not being passed, although typically RELEASE is the opposite of DEBUG, so perhaps not a big deal, just something to be aware of. NDEBUG is not being passed as well, and NDEBUG is what C uses to control assertions firing... which makes any SPM dependencies with C code that has asserts potentially problematic, until they take specia...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.