Skip to content

Commit

Permalink
Remove assertions in release builds
Browse files Browse the repository at this point in the history
  • Loading branch information
defagos committed Dec 11, 2020
1 parent 383235b commit beec872
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ let package = Package(
.process("Resources")
],
cSettings: [
.define("MARKETING_VERSION", to: "\"\(ProjectSettings.marketingVersion)\"")
.define("MARKETING_VERSION", to: "\"\(ProjectSettings.marketingVersion)\""),
.define("NS_BLOCK_ASSERTIONS", to: "1", .when(configuration: .release))
]
),
.testTarget(
Expand Down

0 comments on commit beec872

Please sign in to comment.