Skip to content

Commit 303013d

Browse files
authored
Merge pull request #4096 from wmathurin/sqlcipher-4.17.0
Moving to SQLCipher 4.17.0
2 parents e4bdf63 + 8c672d1 commit 303013d

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

.claude/skills/update-sqlcipher/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,10 +94,10 @@ Update the cipher provider version test:
9494

9595
Note: The OpenSSL version format is typically like "OpenSSL 3.0.17 1 Jul 2025" and the LibTomCrypt format is like "1.18.2" - check the actual runtime value or SQLCipher release notes.
9696

97-
Update the SQLLite version test:
97+
Update the SQLite version test:
9898
- (void) testSqliteVersion {
9999
NSString* version = [NSString stringWithUTF8String:sqlite3_libversion()];
100-
XCTAssertEqualObjects(version, @"3.50.4");
100+
XCTAssertEqualObjects(version, @"NEW_SQLITE_VERSION");
101101
}
102102

103103
### 4. Check for API Changes

SmartStore.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Pod::Spec.new do |s|
2121

2222
smartstore.dependency 'SalesforceSDKCore', "~>#{s.version}"
2323
smartstore.dependency 'FMDB/SQLCipher', '~> 2.7.12'
24-
smartstore.dependency 'SQLCipher', '~> 4.16.0'
24+
smartstore.dependency 'SQLCipher', '~> 4.17.0'
2525
smartstore.source_files = 'libs/SmartStore/SmartStore/Classes/**/*.{h,m,swift}', 'libs/SmartStore/SmartStore/SmartStore.h'
2626
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'
2727
smartstore.prefix_header_contents = '#import "SFSDKSmartStoreLogger.h"', '#import <SalesforceSDKCore/SalesforceSDKConstants.h>'

libs/SmartStore/SmartStore.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@
13191319
repositoryURL = "https://github.com/sqlcipher/SQLCipher.swift";
13201320
requirement = {
13211321
kind = exactVersion;
1322-
version = 4.16.0;
1322+
version = 4.17.0;
13231323
};
13241324
};
13251325
/* End XCRemoteSwiftPackageReference section */

libs/SmartStore/SmartStoreTests/SFSmartStoreTests.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@ - (void) testRuntimeSettings
104104
- (void) testSqliteVersion
105105
{
106106
NSString* version = [NSString stringWithUTF8String:sqlite3_libversion()];
107-
XCTAssertEqualObjects(version, @"3.53.1");
107+
XCTAssertEqualObjects(version, @"3.53.3");
108108
}
109109

110110
- (void) testSqlCipherVersion
111111
{
112112
NSString* version = [self.store getSQLCipherVersion];
113-
XCTAssertEqualObjects(version, @"4.16.0 community");
113+
XCTAssertEqualObjects(version, @"4.17.0 community");
114114
}
115115

116116
- (void) testCipherProviderVersion

mobilesdk_pods.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def use_mobile_sdk!(options={})
2525

2626
source 'https://www.github.com/forcedotcom/SalesforceMobileSDK-iOS-Specs'
2727

28-
pod 'SQLCipher', '4.16.0'
28+
pod 'SQLCipher', '4.17.0'
2929
pod 'SalesforceSDKCommon', :path => path
3030
pod 'SalesforceAnalytics', :path => path
3131
pod 'SalesforceSDKCore', :path => path

native/SampleApps/MobileSyncExplorer/MobileSyncExplorer.xcodeproj/project.pbxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@
11781178
repositoryURL = "https://github.com/sqlcipher/SQLCipher.swift";
11791179
requirement = {
11801180
kind = exactVersion;
1181-
version = 4.16.0;
1181+
version = 4.17.0;
11821182
};
11831183
};
11841184
/* End XCRemoteSwiftPackageReference section */

0 commit comments

Comments
 (0)