From 640d53518c959eefb2f3d00ace48532c9b807de7 Mon Sep 17 00:00:00 2001 From: Wolfgang Mathurin Date: Tue, 12 May 2026 16:49:04 -0700 Subject: [PATCH] Update SQLCipher to 4.16.0 --- .claude/skills/update-sqlcipher/SKILL.md | 2 +- SmartStore.podspec | 2 +- libs/SmartStore/SmartStore.xcodeproj/project.pbxproj | 2 +- libs/SmartStore/SmartStoreTests/SFSmartStoreTests.m | 4 ++-- mobilesdk_pods.rb | 2 +- .../MobileSyncExplorer.xcodeproj/project.pbxproj | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.claude/skills/update-sqlcipher/SKILL.md b/.claude/skills/update-sqlcipher/SKILL.md index 033bb83eae..a0f22788d3 100644 --- a/.claude/skills/update-sqlcipher/SKILL.md +++ b/.claude/skills/update-sqlcipher/SKILL.md @@ -27,7 +27,7 @@ Use this skill when you need to: SQLCipher is an open-source extension to SQLite that provides transparent 256-bit AES encryption of database files. The SDK uses it in the SmartStore library for secure local data storage. ## Parameters -- `NEW_VERSION`: The new SQLCipher version (e.g., "4.6.1", "4.6.2") +- `NEW_VERSION`: The new SQLCipher version (e.g., "4.6.1", "4.6.2", "4.16.0") - `OLD_VERSION`: The current SQLCipher version (default: check podspecs) - `NEW_PROVIDER_VERSION`: The cipher provider version bundled with the new SQLCipher (check SQLCipher release notes) diff --git a/SmartStore.podspec b/SmartStore.podspec index 098114d5a8..6365b16b9e 100644 --- a/SmartStore.podspec +++ b/SmartStore.podspec @@ -21,7 +21,7 @@ Pod::Spec.new do |s| smartstore.dependency 'SalesforceSDKCore', "~>#{s.version}" smartstore.dependency 'FMDB/SQLCipher', '~> 2.7.12' - smartstore.dependency 'SQLCipher', '~> 4.15.0' + smartstore.dependency 'SQLCipher', '~> 4.16.0' smartstore.source_files = 'libs/SmartStore/SmartStore/Classes/**/*.{h,m,swift}', 'libs/SmartStore/SmartStore/SmartStore.h' smartstore.public_header_files = 'libs/SmartStore/SmartStore/Classes/SFAlterSoupLongOperation.h', 'libs/SmartStore/SmartStore/Classes/SFQuerySpec.h', 'libs/SmartStore/SmartStore/Classes/SFSDKSmartStoreLogger.h', 'libs/SmartStore/SmartStore/Classes/SFSDKStoreConfig.h', 'libs/SmartStore/SmartStore/Classes/SFSmartSqlHelper.h', 'libs/SmartStore/SmartStore/Classes/SFSmartStore.h', 'libs/SmartStore/SmartStore/Classes/SFSmartStoreDatabaseManager.h', 'libs/SmartStore/SmartStore/Classes/SFSmartStoreInspectorViewController.h', 'libs/SmartStore/SmartStore/Classes/SFSmartStoreUtils.h', 'libs/SmartStore/SmartStore/Classes/SFSoupIndex.h', 'libs/SmartStore/SmartStore/Classes/SFStoreCursor.h', 'libs/SmartStore/SmartStore/Classes/SmartStoreSDKManager.h', 'libs/SmartStore/SmartStore/SmartStore.h' smartstore.prefix_header_contents = '#import "SFSDKSmartStoreLogger.h"', '#import ' diff --git a/libs/SmartStore/SmartStore.xcodeproj/project.pbxproj b/libs/SmartStore/SmartStore.xcodeproj/project.pbxproj index d4164ebb95..0f5f5d2f6f 100644 --- a/libs/SmartStore/SmartStore.xcodeproj/project.pbxproj +++ b/libs/SmartStore/SmartStore.xcodeproj/project.pbxproj @@ -1364,7 +1364,7 @@ repositoryURL = "https://github.com/sqlcipher/SQLCipher.swift"; requirement = { kind = exactVersion; - version = 4.15.0; + version = 4.16.0; }; }; /* End XCRemoteSwiftPackageReference section */ diff --git a/libs/SmartStore/SmartStoreTests/SFSmartStoreTests.m b/libs/SmartStore/SmartStoreTests/SFSmartStoreTests.m index d287fcd05c..0c8c88ebed 100644 --- a/libs/SmartStore/SmartStoreTests/SFSmartStoreTests.m +++ b/libs/SmartStore/SmartStoreTests/SFSmartStoreTests.m @@ -104,13 +104,13 @@ - (void) testRuntimeSettings - (void) testSqliteVersion { NSString* version = [NSString stringWithUTF8String:sqlite3_libversion()]; - XCTAssertEqualObjects(version, @"3.53.0"); + XCTAssertEqualObjects(version, @"3.53.1"); } - (void) testSqlCipherVersion { NSString* version = [self.store getSQLCipherVersion]; - XCTAssertEqualObjects(version, @"4.15.0 community"); + XCTAssertEqualObjects(version, @"4.16.0 community"); } - (void) testCipherProviderVersion diff --git a/mobilesdk_pods.rb b/mobilesdk_pods.rb index 05a670047a..bd2317d4af 100644 --- a/mobilesdk_pods.rb +++ b/mobilesdk_pods.rb @@ -25,7 +25,7 @@ def use_mobile_sdk!(options={}) source 'https://www.github.com/forcedotcom/SalesforceMobileSDK-iOS-Specs' - pod 'SQLCipher', '4.15.0' + pod 'SQLCipher', '4.16.0' pod 'SalesforceSDKCommon', :path => path pod 'SalesforceAnalytics', :path => path pod 'SalesforceSDKCore', :path => path diff --git a/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer.xcodeproj/project.pbxproj b/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer.xcodeproj/project.pbxproj index c54bc9fc95..1ce554d9ab 100644 --- a/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer.xcodeproj/project.pbxproj +++ b/native/SampleApps/MobileSyncExplorer/MobileSyncExplorer.xcodeproj/project.pbxproj @@ -1178,7 +1178,7 @@ repositoryURL = "https://github.com/sqlcipher/SQLCipher.swift"; requirement = { kind = exactVersion; - version = 4.15.0; + version = 4.16.0; }; }; /* End XCRemoteSwiftPackageReference section */