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 80719f8 commit bfc89bf
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 @@ -25,7 +25,8 @@ let package = Package(
.process("Fonts")
],
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 bfc89bf

Please sign in to comment.