Skip to content

Update SQLCipher to 4.16.0#305

Merged
wmathurin merged 3 commits into
forcedotcom:devfrom
wmathurin:sqlcipher-4.16
May 13, 2026
Merged

Update SQLCipher to 4.16.0#305
wmathurin merged 3 commits into
forcedotcom:devfrom
wmathurin:sqlcipher-4.16

Conversation

@wmathurin

@wmathurin wmathurin commented May 12, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates SQLCipher dependency from 4.15.0 to 4.16.0 in the iOS-Hybrid SDK, including Swift Package Manager dependencies and documentation.

Changes

  • Updated iOS submodule reference to include SQLCipher 4.16.0 (from iOS SDK)
  • Fixed Swift Package Manager dependencies:
    • Updated workspace Package.resolved to SQLCipher 4.16.0 (commit: 07bf6bc2191a063d6f1e7c3b5f276a3fadfe36b7)
    • Updated MobileSyncExplorerHybrid project to use SQLCipher 4.16.0
    • Updated AccountEditor project to use SQLCipher 4.16.0
  • Enhanced .claude/skills/update-sqlcipher/SKILL.md with:
    • Swift Package Manager update instructions
    • Troubleshooting section for package resolution failures
    • Step-by-step guide for finding correct commit hashes

Context

The iOS SDK was updated to SQLCipher 4.16.0 via podspec dependency. However, the workspace and sample apps use Swift Package Manager, which requires separate updates to:

  1. Workspace Package.resolved
  2. Sample app project files (project.pbxproj)

Without these SPM updates, xcodebuild fails with:

Could not resolve package dependencies:
  Failed to resolve dependencies Dependencies could not be resolved because 
  root depends on 'sqlcipher.swift' 4.16.0 and root depends on 'sqlcipher.swift' 4.15.0.

Testing

  • ✅ Package resolution now succeeds (xcodebuild analyze command works)
  • ✅ SalesforceHybridSDK builds successfully
  • ✅ Sample apps build successfully
  • Full test suite execution requires valid Salesforce org credentials

SQLCipher 4.16.0 Release Notes

Related PRs

This skill documents the process for updating SQLCipher in the iOS-Hybrid repository, which inherits SQLCipher through its iOS submodule dependency.

Key aspects:
- iOS-Hybrid depends on iOS SDK submodule for SmartStore/SQLCipher
- Update process involves updating the iOS submodule reference
- No direct SQLCipher dependency in hybrid podspec
- Includes comprehensive testing guidance for hybrid plugins

Related to SQLCipher 4.16.0 upgrade preparation.
@wmathurin wmathurin marked this pull request as draft May 12, 2026 23:58
@github-actions

github-actions Bot commented May 13, 2026

Copy link
Copy Markdown
TestsPassed ✅SkippedFailed
SalesforceFileLogger iOS ^26 Test Results15 ran15 ✅
TestResult
No test annotations available

@codecov

codecov Bot commented May 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.62%. Comparing base (fb38779) to head (32f0f24).
⚠️ Report is 1 commits behind head on dev.

Additional details and impacted files
@@           Coverage Diff           @@
##              dev     #305   +/-   ##
=======================================
  Coverage   62.62%   62.62%           
=======================================
  Files          21       21           
  Lines        1699     1699           
=======================================
  Hits         1064     1064           
  Misses        635      635           
Flag Coverage Δ
SalesforceFileLogger 70.55% <ø> (ø)
SalesforceHybridSDK 60.74% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions

github-actions Bot commented May 13, 2026

Copy link
Copy Markdown
TestsPassed ✅SkippedFailed
SalesforceHybridSDK iOS ^26 Test Results150 ran150 ✅
TestResult
No test annotations available

@wmathurin wmathurin marked this pull request as ready for review May 13, 2026 03:14
- Review Cordova plugin implementations in `libs/SalesforceHybridSDK/SalesforceHybridSDK/Classes/Plugins/`
- Compare behavior with the iOS SDK's SmartStore tests

### 6. Verify Sample Apps

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want to include it in the skill, the version would also get updated in each of the sample app's xcodeproj files

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Done here: 32f0f24

- Update workspace Package.resolved to SQLCipher 4.16.0
- Update MobileSyncExplorerHybrid project to use SQLCipher 4.16.0
- Update AccountEditor project to use SQLCipher 4.16.0
- Update update-sqlcipher skill with SPM update instructions and troubleshooting

Fixes package resolution conflict between iOS submodule (4.16.0) and sample apps (4.15.0).
@wmathurin wmathurin changed the title Add update-sqlcipher skill Update SQLCipher to 4.16.0 May 13, 2026
@wmathurin wmathurin merged commit c0a9eba into forcedotcom:dev May 13, 2026
13 checks passed
wmathurin added a commit to forcedotcom/SalesforceMobileSDK-iOS-SPM that referenced this pull request May 13, 2026
- Updated Package.swift SQLCipher dependency from 4.15.0 to 4.16.0
- Added update-sqlcipher skill for future updates
- Verified package resolution with swift package resolve

Related PRs:
- iOS: forcedotcom/SalesforceMobileSDK-iOS#4033
- iOS-Specs: forcedotcom/SalesforceMobileSDK-iOS-Specs#61
- iOS-Hybrid: forcedotcom/SalesforceMobileSDK-iOS-Hybrid#305
- Android: forcedotcom/SalesforceMobileSDK-Android#2883
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants