From a395ab9f39903f94580c193461c85237a357cba5 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 11:05:49 +0000 Subject: [PATCH 1/2] fix(wallet-topup): pin @wirexapp/mobile-sdk to 0.3.15 so iOS pods resolve The iOS binding depends on the WirexMobileSDK pod at "~> " from CocoaPods trunk. Wirex published 0.3.16 to npm and Maven Central but never pushed the 0.3.16 podspec to trunk (it stops at 0.3.15), so the EAS iOS build failed at `pod install` with "None of your spec sources contain a spec satisfying WirexMobileSDK (~> 0.3.16)". 0.3.16 differs from 0.3.15 only in the Android card reveal and collect modules; the JS, the types, the iOS binding and the Expo plugin are byte-identical, and this app uses only the wallet checkout. At 0.3.15 the npm package, the trunk pod (zip sha256 matches the podspec) and the Maven artifact all exist and were released together. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_015YMpaaKrSMPdcrBZg2i498 --- app.config.ts | 7 +++++++ package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/app.config.ts b/app.config.ts index 0a6e48b44..18783fb50 100644 --- a/app.config.ts +++ b/app.config.ts @@ -314,6 +314,13 @@ export default ({ config }: ConfigContext): ExpoConfig => ({ // target and Android minSdk only where they are below the SDK's — ours (iOS // 16, minSdk 26, from expo-build-properties above) are already higher. A // native module: shipping it takes a store build, not an update. + // + // Pinned to 0.3.15 in package.json: the iOS binding needs the + // `WirexMobileSDK` pod at `~> ` from CocoaPods trunk, and + // Wirex published 0.3.16 to npm and Maven but not to trunk (which stops at + // 0.3.15), so `pod install` cannot resolve it. 0.3.16 changes only the + // Android card reveal/collect modules, which this app does not use. Bump + // only once `pod trunk info WirexMobileSDK` lists the new version. '@wirexapp/mobile-sdk', // MeaWallet MPP: bundle mea_config (add meawallet/mea_config from MeaWallet for MPP) ['./meawallet/configAndroid.js', { meaConfig: 'meawallet/mea_config' }], diff --git a/package-lock.json b/package-lock.json index 9b53ed0e7..bbf88a8aa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -66,7 +66,7 @@ "@vercel/speed-insights": "^2.0.0", "@voltage-finance/sdk-core": "^1.0.5", "@wirexapp/card-wallet-topup-web": "1.1.0", - "@wirexapp/mobile-sdk": "0.3.16", + "@wirexapp/mobile-sdk": "0.3.15", "abitype": "^1.2.3", "axios": "^1.13.6", "class-variance-authority": "^0.7.1", @@ -18154,9 +18154,9 @@ } }, "node_modules/@wirexapp/mobile-sdk": { - "version": "0.3.16", - "resolved": "https://registry.npmjs.org/@wirexapp/mobile-sdk/-/mobile-sdk-0.3.16.tgz", - "integrity": "sha512-rMsPqQNg9VnIh5tPwsjpKUOwfd+iy2s+AnDrjA5ienTHepF/izHNWHpKzkMlJX7u9GZmqzMakqnC3fZDXqKUKA==", + "version": "0.3.15", + "resolved": "https://registry.npmjs.org/@wirexapp/mobile-sdk/-/mobile-sdk-0.3.15.tgz", + "integrity": "sha512-VfaMdacrPf6gklLVf5kZLDX5WLhLctoWDDVMN100Aan94Yl4YmBPfSqStf41ajrbzNCX6cQkVgEUDdf+lXrcQw==", "license": "SEE LICENSE IN LICENSE", "engines": { "node": ">=18" diff --git a/package.json b/package.json index b93588d3a..9b06b182a 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "@vercel/speed-insights": "^2.0.0", "@voltage-finance/sdk-core": "^1.0.5", "@wirexapp/card-wallet-topup-web": "1.1.0", - "@wirexapp/mobile-sdk": "0.3.16", + "@wirexapp/mobile-sdk": "0.3.15", "abitype": "^1.2.3", "axios": "^1.13.6", "class-variance-authority": "^0.7.1", From fd2f8d76caa5e23210e679f486031418e83064bb Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 23 Nov 2026 11:51:47 +0000 Subject: [PATCH 2/2] build(eas): build iOS on an Xcode 26.6 image for the Wirex SDK WirexMobileSDK's xcframework (0.3.15 and 0.3.16 alike) is built with Swift 6.3.2, and its module interface can be read only by that compiler or a later one; Wirex's iOS README requires Xcode 26.5 or later. With no `image` set, EAS builds Expo SDK 55 on macos-sequoia-15.6-xcode-26.2, so once `pod install` resolves, the binding's `import WirexMobileSDK` would fail to compile. Pin `ios.image` to macos-tahoe-26.5-xcode-26.6 in the development, preview (QA workflow) and production profiles: all three link the SDK. Xcode 26.6 is the lowest EAS image that meets the requirement and stays on Xcode 26, which the existing fmt and explicit-modules workarounds already target. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_015YMpaaKrSMPdcrBZg2i498 --- app.config.ts | 6 ++++++ eas.json | 11 ++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/app.config.ts b/app.config.ts index 18783fb50..4c38d8120 100644 --- a/app.config.ts +++ b/app.config.ts @@ -321,6 +321,12 @@ export default ({ config }: ConfigContext): ExpoConfig => ({ // 0.3.15), so `pod install` cannot resolve it. 0.3.16 changes only the // Android card reveal/collect modules, which this app does not use. Bump // only once `pod trunk info WirexMobileSDK` lists the new version. + // + // The iOS framework is built with Swift 6.3.2, and its module interface can + // be read only by that compiler or a later one, so Wirex requires Xcode + // 26.5+. Expo SDK 55's default EAS image is Xcode 26.2, so every build + // profile in eas.json pins `ios.image` to an Xcode 26.6 image. Keep that + // pin at or above the Xcode the SDK's release notes name when bumping it. '@wirexapp/mobile-sdk', // MeaWallet MPP: bundle mea_config (add meawallet/mea_config from MeaWallet for MPP) ['./meawallet/configAndroid.js', { meaConfig: 'meawallet/mea_config' }], diff --git a/eas.json b/eas.json index 4e99e1db7..e395ed2e7 100644 --- a/eas.json +++ b/eas.json @@ -7,11 +7,17 @@ "development": { "developmentClient": true, "distribution": "internal", - "channel": "development" + "channel": "development", + "ios": { + "image": "macos-tahoe-26.5-xcode-26.6" + } }, "preview": { "distribution": "internal", "channel": "preview", + "ios": { + "image": "macos-tahoe-26.5-xcode-26.6" + }, "env": { "SENTRY_AUTH_TOKEN": "$SENTRY_AUTH_TOKEN", "SENTRY_ALLOW_FAILURE": "true" @@ -23,6 +29,9 @@ "cache": { "disabled": true }, + "ios": { + "image": "macos-tahoe-26.5-xcode-26.6" + }, "env": { "SENTRY_AUTH_TOKEN": "$SENTRY_AUTH_TOKEN", "SENTRY_ALLOW_FAILURE": "true"