From 75efe5b1cb9ef414bfc239489a0cbbe7e1e287fb Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Fri, 22 Nov 2024 11:07:05 -0800 Subject: [PATCH] revert the sql cipher --- LibXMTP.podspec | 6 ++---- Package.swift | 14 ++------------ 2 files changed, 4 insertions(+), 16 deletions(-) diff --git a/LibXMTP.podspec b/LibXMTP.podspec index 1353c7b..372b7e5 100644 --- a/LibXMTP.podspec +++ b/LibXMTP.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = 'LibXMTP' - s.version = '3.0.6' + s.version = '3.0.7' s.summary = 'XMTP shared Rust code that powers cross-platform SDKs' s.homepage = 'https://github.com/xmtp/libxmtp-swift' @@ -12,7 +12,5 @@ Pod::Spec.new do |s| s.source = { :http => "https://github.com/xmtp/libxmtp/releases/download/swift-bindings-ab9d335/LibXMTPSwiftFFI.zip", :type => :zip } s.vendored_frameworks = 'LibXMTPSwiftFFI.xcframework' - s.source_files = 'Sources/LibXMTP/**/*' - - s.dependency 'SQLCipher', '= 4.5.7' + s.source_files = 'Sources/LibXMTP/**/*' end diff --git a/Package.swift b/Package.swift index 8e2aeb9..a219398 100644 --- a/Package.swift +++ b/Package.swift @@ -15,24 +15,14 @@ let package = Package( targets: ["LibXMTP", "LibXMTPSwiftFFI"] ), ], - dependencies: [ - .package( - url: "https://github.com/sqlcipher/sqlcipher", - exact: "4.5.7" - ) - ], targets: [ .target( name: "LibXMTP", - dependencies: [ - "LibXMTPSwiftFFI", - .product(name: "SQLCipher", package: "sqlcipher") - ], + dependencies: ["LibXMTPSwiftFFI"], path: "Sources/LibXMTP", linkerSettings: [ .linkedFramework("CoreFoundation"), - .linkedFramework("SystemConfiguration"), - .unsafeFlags(["-lsqlcipher"]) // Ensure SQLCipher is linked + .linkedFramework("SystemConfiguration") ] ), .binaryTarget(