Fix RN bundle phase: align metro-config and babel-preset with RN 0.85

The "Bundle React Native code and images" Xcode build phase failed
because @react-native/metro-config and @react-native/babel-preset were
pinned to 0.79.x while react-native is 0.85.3. The 0.79 metro-config
API is incompatible with the 0.85 bundler script.

Also fixes xcodebuild_formatter from "" to "cat" to avoid empty pipe.
This commit is contained in:
Adam Moussa 2026-05-19 19:21:33 -04:00
parent ddb1e52e68
commit fa93870a99
4 changed files with 223 additions and 1159 deletions

1
.gitignore vendored
View file

@ -44,6 +44,7 @@ TestResults/
# React Native / Mobile
mobile/ios/Pods/
mobile/ios/build/
mobile/ios/.xcode.env.local
mobile/android/.gradle/
mobile/android/app/build/
mobile/android/build/

View file

@ -146,7 +146,7 @@ platform :ios do
export_team_id: "9KAQYC653W",
output_directory: "build",
output_name: "ProposalSystem.ipa",
xcodebuild_formatter: ""
xcodebuild_formatter: "cat"
)
upload_to_testflight(skip_waiting_for_build_processing: true)

1375
mobile/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -35,8 +35,8 @@
"devDependencies": {
"@react-native-community/cli": "^20.1.3",
"@react-native-community/cli-platform-ios": "^20.1.3",
"@react-native/babel-preset": "^0.79.0",
"@react-native/metro-config": "^0.79.0",
"@react-native/babel-preset": "^0.85.3",
"@react-native/metro-config": "^0.85.3",
"@types/react": "^19.0.0",
"@types/react-native-vector-icons": "^6.4.18",
"typescript": "~5.7.0"