Skip to content
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

Swift Package Manager: Fix NS_BLOCK_ASSERTIONS for release builds #869

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jjkaufman
Copy link

There is an issue in Swift Package Manager where any NSAssert inside of packages will throw fatal exceptions on release builds.

I don't believe this is intentional behavior of AppAuth. Including a new cSettings in the Package.swift file resolves the issue.

Here is a thread on the Swift forums discussing the issue
https://forums.swift.org/t/assertions-in-swift-packages/42692

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants