Skip to content

Commit

Permalink
Merge pull request #272 from echamberlain/swiftpm_ns_block_assertions
Browse files Browse the repository at this point in the history
Use NS_BLOCK_ASSERTIONS for SwiftPM release builds
  • Loading branch information
nabla-c0d3 authored Nov 23, 2021
2 parents 3e98aeb + 68335f7 commit 0617d99
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 @@ -32,7 +32,8 @@ let package = Package(
name: "TrustKit",
dependencies: [],
path: "TrustKit",
publicHeadersPath: "public"
publicHeadersPath: "public",
cSettings: [.define("NS_BLOCK_ASSERTIONS", to: "1", .when(configuration: .release))]
),
]
)

0 comments on commit 0617d99

Please sign in to comment.