Skip to content

Commit

Permalink
Merge pull request #1 from erichoracek/spm-support
Browse files Browse the repository at this point in the history
Prevent NSAssert from crashing the app in release builds
  • Loading branch information
maitbayev authored Jun 16, 2024
2 parents a6f6805 + ccbec96 commit 066ba2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ let package = Package(
.headerSearchPath("./render"),
.headerSearchPath("./lib"),
.headerSearchPath("./render/internal"),
// Prevent NSAssert from crashing the app in release builds
.define("NS_BLOCK_ASSERTIONS", to: "1", .when(configuration: .release)),
]
),
.testTarget(
Expand Down

0 comments on commit 066ba2f

Please sign in to comment.