From d80773a2a8e19fb1608489617bbab21ce83d62d1 Mon Sep 17 00:00:00 2001 From: Cristi Paval Date: Tue, 25 Mar 2025 23:42:23 +0200 Subject: [PATCH] Fix Warning from App Store Connect --- .github/libs/nativeVersionUpdater.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/libs/nativeVersionUpdater.ts b/.github/libs/nativeVersionUpdater.ts index 2d0abb053322..f1845a7af4dd 100644 --- a/.github/libs/nativeVersionUpdater.ts +++ b/.github/libs/nativeVersionUpdater.ts @@ -11,6 +11,7 @@ import getBuildVersion from 'semver/functions/prerelease'; const BUILD_GRADLE_PATH = process.env.NODE_ENV === 'test' ? path.resolve(__dirname, '../../android/app/build.gradle') : './android/app/build.gradle'; const PLIST_PATH = './ios/NewExpensify/Info.plist'; const PLIST_PATH_NSE = './ios/NotificationServiceExtension/Info.plist'; +const PLIST_PATH_SVC = './ios/ShareViewController/Info.plist'; /** * Pad a number to be two digits (with leading zeros if necessary). @@ -65,8 +66,10 @@ function updateiOSVersion(version: string): string { // Update Plists execSync(`/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${shortVersion}" ${PLIST_PATH}`); execSync(`/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${shortVersion}" ${PLIST_PATH_NSE}`); + execSync(`/usr/libexec/PlistBuddy -c "Set :CFBundleShortVersionString ${shortVersion}" ${PLIST_PATH_SVC}`); execSync(`/usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${cfVersion}" ${PLIST_PATH}`); execSync(`/usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${cfVersion}" ${PLIST_PATH_NSE}`); + execSync(`/usr/libexec/PlistBuddy -c "Set :CFBundleVersion ${cfVersion}" ${PLIST_PATH_SVC}`); // Return the cfVersion so we can set the NEW_IOS_VERSION in ios.yml return cfVersion;