From 87c7791dea7df828b55a79065d634493263aa8ae Mon Sep 17 00:00:00 2001 From: vadymv-mendix Date: Wed, 28 Jan 2026 17:52:49 +0100 Subject: [PATCH 1/3] fix: opsqlite pod should skip bundled xcframework slices --- patches/@op-engineering+op-sqlite+15.0.7.patch | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/patches/@op-engineering+op-sqlite+15.0.7.patch b/patches/@op-engineering+op-sqlite+15.0.7.patch index 586def4..2e9a9ce 100644 --- a/patches/@op-engineering+op-sqlite+15.0.7.patch +++ b/patches/@op-engineering+op-sqlite+15.0.7.patch @@ -69,7 +69,7 @@ index d36fd85..7513556 100644 println "[OP-SQLITE] using sqlcipher." } else if(useLibsql) { diff --git a/node_modules/@op-engineering/op-sqlite/android/cpp-adapter.cpp b/node_modules/@op-engineering/op-sqlite/android/cpp-adapter.cpp -index 8feaf77..261ec22 100644 +index 8feaf77..2393963 100644 --- a/node_modules/@op-engineering/op-sqlite/android/cpp-adapter.cpp +++ b/node_modules/@op-engineering/op-sqlite/android/cpp-adapter.cpp @@ -19,8 +19,8 @@ struct OPSQLiteBridge : jni::JavaClass { @@ -206,7 +206,7 @@ index 91511ab..cc73dfe 100644 } // namespace opsqlite diff --git a/node_modules/@op-engineering/op-sqlite/op-sqlite.podspec b/node_modules/@op-engineering/op-sqlite/op-sqlite.podspec -index 375cc3e..e6fce21 100644 +index 375cc3e..e259537 100644 --- a/node_modules/@op-engineering/op-sqlite/op-sqlite.podspec +++ b/node_modules/@op-engineering/op-sqlite/op-sqlite.podspec @@ -1,4 +1,3 @@ @@ -266,3 +266,12 @@ index 375cc3e..e6fce21 100644 Pod::Spec.new do |s| s.name = "op-sqlite" s.version = package["version"] +@@ -97,6 +64,8 @@ Pod::Spec.new do |s| + + # Base source files + source_files = Dir.glob("ios/**/*.{h,m,mm}") + Dir.glob("cpp/**/*.{h,cpp,c}") ++ # Avoid pulling headers from vendored xcframeworks into the pod target ++ source_files = source_files.reject { |path| path.include?(".xcframework/") } + + # Set the path to the `c_sources` directory based on environment + if is_user_app From 555dfbcca807c07a4ff079f2f14632b26c2e2c87 Mon Sep 17 00:00:00 2001 From: vadymv-mendix Date: Wed, 28 Jan 2026 18:21:45 +0100 Subject: [PATCH 2/3] chore: update pod lockfile --- ios/Podfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 0ae35ef..4480f8b 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -2977,7 +2977,7 @@ SPEC CHECKSUMS: MendixNative: 358ef00fc883a39da69680c6c2a09ecf85a0b887 MultiplatformBleAdapter: 5a6a897b006764392f9cef785e4360f54fb9477d nanopb: 438bc412db1928dac798aa6fd75726007be04262 - op-sqlite: 12554de3e1a0cb86cbad3cf1f0c50450f57d3855 + op-sqlite: 870c9b6b9ef342a12dc89b841c38ad451d1a885c OpenSSL-Universal: 6082b0bf950e5636fe0d78def171184e2b3899c2 PromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47 PromisesSwift: 9d77319bbe72ebf6d872900551f7eeba9bce2851 From 4dd297840bf4316345e196bded2370ec0a527c34 Mon Sep 17 00:00:00 2001 From: vadymv-mendix Date: Thu, 29 Jan 2026 15:56:58 +0100 Subject: [PATCH 3/3] fix: patch mendix-native to allow building without use_frameworks --- ios/Podfile.lock | 2 +- patches/mendix-native+0.3.1.patch | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 patches/mendix-native+0.3.1.patch diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 4480f8b..2ad073e 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -2974,7 +2974,7 @@ SPEC CHECKSUMS: hermes-engine: 2771b98fb813fdc6f92edd7c9c0035ecabf9fee7 IQKeyboardManager: c8665b3396bd0b79402b4c573eac345a31c7d485 libwebp: 02b23773aedb6ff1fd38cec7a77b81414c6842a8 - MendixNative: 358ef00fc883a39da69680c6c2a09ecf85a0b887 + MendixNative: eb0ce8790842c3cbb5e75b8b37fd78d7006be0f0 MultiplatformBleAdapter: 5a6a897b006764392f9cef785e4360f54fb9477d nanopb: 438bc412db1928dac798aa6fd75726007be04262 op-sqlite: 870c9b6b9ef342a12dc89b841c38ad451d1a885c diff --git a/patches/mendix-native+0.3.1.patch b/patches/mendix-native+0.3.1.patch new file mode 100644 index 0000000..7dbdfae --- /dev/null +++ b/patches/mendix-native+0.3.1.patch @@ -0,0 +1,16 @@ +diff --git a/node_modules/mendix-native/MendixNative.podspec b/node_modules/mendix-native/MendixNative.podspec +index 178c100..177a883 100644 +--- a/node_modules/mendix-native/MendixNative.podspec ++++ b/node_modules/mendix-native/MendixNative.podspec +@@ -17,6 +17,11 @@ Pod::Spec.new do |s| + s.public_header_files = "ios/**/*.h" + s.private_header_files = "ios/**/*.h" + ++ s.swift_version = "5.9" ++ s.pod_target_xcconfig = { ++ "DEFINES_MODULE" => "YES" ++ } ++ + s.dependency "SSZipArchive" + s.dependency "RNCAsyncStorage" + s.dependency "ReactCommon"