From d5edb2e380483666c66243ad576f7c2a05402697 Mon Sep 17 00:00:00 2001 From: Pallab Maiti Date: Wed, 6 Sep 2023 18:47:38 +0530 Subject: [PATCH] fix: SPM build error due to use of unsafe flags (#384) --- Package.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 5d5962fd..cec2f825 100644 --- a/Package.swift +++ b/Package.swift @@ -27,7 +27,10 @@ let package = Package( publicHeadersPath: "Classes/Headers/Public/", cSettings: [ .headerSearchPath("Classes/Headers/"), - .unsafeFlags(["-DSQLITE_HAS_CODEC", "-DSQLITE_TEMP_STORE=3", "-DSQLCIPHER_CRYPTO_CC", "-DNDEBUG"]) + .define("SQLITE_HAS_CODEC"), + .define("SQLITE_TEMP_STORE", to: "3"), + .define("SQLCIPHER_CRYPTO_CC"), + .define("NDEBUG") ] ), .testTarget(