Skip to content

Commit

Permalink
Merge pull request #85 from xmtp/np/revert-sqlcipher-change
Browse files Browse the repository at this point in the history
Revert the sql cipher
  • Loading branch information
nplasterer authored Nov 22, 2024
2 parents 54a10a9 + 75efe5b commit 7473329
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
6 changes: 2 additions & 4 deletions LibXMTP.podspec
Original file line number Diff line number Diff line change
@@ -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'
Expand All @@ -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
14 changes: 2 additions & 12 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7473329

Please sign in to comment.