diff --git a/app.config.ts b/app.config.ts index 0a6e48b44..4c38d8120 100644 --- a/app.config.ts +++ b/app.config.ts @@ -314,6 +314,19 @@ 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. + // + // 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" 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",