Skip to content

Swift Package Manager: Fix NS_BLOCK_ASSERTIONS for release builds #869

Open
jjkaufman wants to merge 1 commit intoopenid:masterfrom
jjkaufman:master
Open

Swift Package Manager: Fix NS_BLOCK_ASSERTIONS for release builds #869
jjkaufman wants to merge 1 commit intoopenid:masterfrom
jjkaufman:master

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