From 111946856ec49a6c04a45534a7c76a320350a4fc Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 26 May 2026 08:33:13 +0000 Subject: [PATCH] fix(ios): pin DiditSDK pod to 3.2.13 instead of tracking main MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit @didit-protocol/sdk-react-native's Expo plugin injects the Podfile entry pointing at .../sdk-ios/main/DiditSDK.podspec. On 2026-05-25 main was bumped to 4.0.0, which no longer satisfies the SdkReactNative.podspec constraint of `DiditSDK ~> 3.2`, so pod install fails on every iOS EAS build with a CocoaPods version conflict. Patch the plugin to use the 3.2.13 tagged podspec — the latest 3.2.x release that still ships the flat DiditSDK.xcframework + OpenSSL.xcframework the react-native-quick-crypto patch relies on for OpenSSL. --- .../@didit-protocol+sdk-react-native+3.2.8.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/@didit-protocol+sdk-react-native+3.2.8.patch diff --git a/patches/@didit-protocol+sdk-react-native+3.2.8.patch b/patches/@didit-protocol+sdk-react-native+3.2.8.patch new file mode 100644 index 00000000..289f11f7 --- /dev/null +++ b/patches/@didit-protocol+sdk-react-native+3.2.8.patch @@ -0,0 +1,13 @@ +diff --git a/node_modules/@didit-protocol/sdk-react-native/app.plugin.js b/node_modules/@didit-protocol/sdk-react-native/app.plugin.js +index 7943542..b2c9988 100644 +--- a/node_modules/@didit-protocol/sdk-react-native/app.plugin.js ++++ b/node_modules/@didit-protocol/sdk-react-native/app.plugin.js +@@ -12,7 +12,7 @@ const MAVEN_REPO = + const MAVEN_LINE = ` maven { url "${MAVEN_REPO}" }`; + + const PODSPEC_URL = +- 'https://raw.githubusercontent.com/didit-protocol/sdk-ios/main/DiditSDK.podspec'; ++ 'https://raw.githubusercontent.com/didit-protocol/sdk-ios/3.2.13/DiditSDK.podspec'; + + const POD_LINE = ` pod 'DiditSDK', :podspec => '${PODSPEC_URL}'`; +