From 657bded2f56bdcb661d3df1b0c799ba6da3a3ed7 Mon Sep 17 00:00:00 2001 From: Keita Watanabe Date: Wed, 21 Feb 2024 12:59:11 +0900 Subject: [PATCH 1/2] move PrivacyInfo.xcprivacy --- Package.swift | 3 ++- {privacy => src/fmdb}/PrivacyInfo.xcprivacy | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename {privacy => src/fmdb}/PrivacyInfo.xcprivacy (100%) diff --git a/Package.swift b/Package.swift index bf3b1a4d..e510aa34 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.0 +// swift-tools-version:5.5 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -20,6 +20,7 @@ let package = Package( name: "FMDB", dependencies: [], path: "src/fmdb", + resources: [.copy("PrivacyInfo.xcprivacy")], publicHeadersPath: "."), ] ) diff --git a/privacy/PrivacyInfo.xcprivacy b/src/fmdb/PrivacyInfo.xcprivacy similarity index 100% rename from privacy/PrivacyInfo.xcprivacy rename to src/fmdb/PrivacyInfo.xcprivacy From 2cdf85b0bf9a2f254f4054c7a6687544758759e2 Mon Sep 17 00:00:00 2001 From: Keita Watanabe Date: Wed, 21 Feb 2024 13:01:48 +0900 Subject: [PATCH 2/2] fix pod spec --- FMDB.podspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FMDB.podspec b/FMDB.podspec index e663d918..8f7a29f3 100644 --- a/FMDB.podspec +++ b/FMDB.podspec @@ -53,5 +53,5 @@ Pod::Spec.new do |s| ss.xcconfig = { 'OTHER_CFLAGS' => '$(inherited) -DSQLITE_HAS_CODEC -DHAVE_USLEEP=1 -DSQLCIPHER_CRYPTO', 'HEADER_SEARCH_PATHS' => 'SQLCipher' } end - s.resource_bundles = {'FMDB' => ['privacy/PrivacyInfo.xcprivacy']} + s.resource_bundles = {'FMDB' => ['src/fmdb/PrivacyInfo.xcprivacy']} end