# \#assertions

**URL:** https://forums.swift.org/tag/assertions/1108.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [\`NDEBUG\` vs SPM dependencies](https://forums.swift.org/t/ndebug-vs-spm-dependencies/90458)

<div class="topic-metadata">

**Author:** [@tera](https://forums.swift.org/u/tera)\
**Replies:** 1\
**Last updated:** [November 5, 2026, 7:54am UTC](https://forums.swift.org/t/ndebug-vs-spm-dependencies/90458 "2026-11-05T07:54:29Z")

</div>

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 o…

---

## [Can we get consistent assertion behavior in the latest release Swift compiler across host platforms?](https://forums.swift.org/t/can-we-get-consistent-assertion-behavior-in-the-latest-release-swift-compiler-across-host-platforms/80545)

<div class="topic-metadata">

**Author:** [@Finagolfin](https://forums.swift.org/u/Finagolfin)\
**Replies:** 28\
**Last updated:** [May 11, 2026, 2:17pm UTC](https://forums.swift.org/t/can-we-get-consistent-assertion-behavior-in-the-latest-release-swift-compiler-across-host-platforms/80545 "2026-05-11T14:17:31Z")

</div>

I have been noticing issues raised for compiler assertion crashes this year with the OSS macOS release toolchains, which are not reproducible with the Xcode or linux release toolchains, presumably because those assertion…
