[ios] React native app is not building after migrated from Version 0.71.19 to Version 0.72.0 #302
Description
Environment
System:
OS: macOS 14.4.1
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 1.91 GB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.11.0
path: /usr/local/bin/node
Yarn:
version: 1.22.19
path: /usr/local/bin/yarn
npm:
version: 10.9.0
path: /usr/local/bin/npm
Watchman:
version: 2024.11.18.00
path: /usr/local/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.5
- iOS 17.5
- macOS 14.5
- tvOS 17.5
- visionOS 1.2
- watchOS 10.5
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode:
version: 15.4/15F31d
path: /usr/bin/xcodebuild
Languages:
Java:
version: 22.0.2
path: /usr/bin/javac
Ruby:
version: 3.3.6
path: /usr/local/opt/ruby/bin/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.17
wanted: ^0.72.0
react-native-macos: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: false
Things I’ve done to figure out my issue
- I used upgrade-helper to do my upgrade.
Upgrading version
0.72.0
Description
package.json
{
"main": "index",
"name": "optimizeapp",
"private": true,
"scripts": {
"start": "react-native start",
"android": "react-native run-android",
"ios": "react-native run-ios",
"doc": "jsdoc -c jsdoc.conf.json",
"postinstall": "patch-package",
"test": "jest",
"lint": "eslint",
"e2e:test-ios": "detox test -c ios",
"e2e:build-ios": "detox build -c ios",
"e2e:test-android": "detox test -c android.emu.release",
"e2e:build-android": "detox build -c android.emu.release"
},
"dependencies": {
"@intercom/intercom-react-native": "^5.1.2",
"@invertase/react-native-apple-authentication": "^2.3.0",
"@react-native-async-storage/async-storage": "^1.18.2",
"@react-native-clipboard/clipboard": "^1.10.0",
"@react-native-community/blur": "^4.0.0",
"@react-native-community/masked-view": "0.1.11",
"@react-native-community/netinfo": "^9.0.0",
"@react-native-community/slider": "^4.5.0",
"@react-native-cookies/cookies": "^6.0.7",
"@react-native-firebase/analytics": "^21.3.0",
"@react-native-firebase/app": "^21.3.0",
"@react-native-firebase/app-check": "^21.3.0",
"@react-native-firebase/installations": "^21.3.0",
"@react-native-firebase/remote-config": "^21.3.0",
"@react-native-google-signin/google-signin": "^11.0.1",
"@react-native-picker/picker": "2.4.8",
"@react-native/eslint-config": "^0.72.2",
"@react-native/metro-config": "^0.72.6",
"@segment/analytics-react-native": "^2.19.1",
"@segment/analytics-react-native-plugin-adjust": "^0.7.0",
"@segment/analytics-react-native-plugin-advertising-id": "^1.3.1",
"@segment/analytics-react-native-plugin-facebook-app-events": "^0.6.0",
"@segment/analytics-react-native-plugin-firebase": "^0.4.1",
"@segment/analytics-react-native-plugin-idfa": "^0.7.2",
"@segment/sovran-react-native": "^1.1.1",
"@sentry/react-native": "^5.33.1",
"@shopify/flash-list": "^1.7.0",
"@testing-library/react-native": "^11.5.4",
"@tsconfig/react-native": "^3.0.0",
"@types/metro-config": "^0.76.3",
"@welldone-software/why-did-you-render": "^7.0.1",
"add": "^2.0.6",
"axios": "^1.3.4",
"base-64": "^1.0.0",
"buffer": "^6.0.3",
"compare-versions": "^4.1.3",
"customerio-reactnative": "^3.6.0",
"dateformat": "^5.0.3",
"deepmerge": "^4.1.1",
"expo": "^49.0.0",
"expo-application": "~5.1.1",
"expo-asset": "~8.9.1",
"expo-av": "~13.2.1",
"expo-blur": "~12.2.2",
"expo-constants": "~14.4.2",
"expo-document-picker": "~11.2.2",
"expo-file-system": "~15.2.2",
"expo-font": "~11.1.1",
"expo-image-manipulator": "~11.1.1",
"expo-image-picker": "~14.1.1",
"expo-intent-launcher": "~10.5.2",
"expo-linear-gradient": "~12.1.2",
"expo-localization": "~14.1.1",
"expo-permissions": "~14.1.1",
"expo-screen-orientation": "~5.1.1",
"expo-secure-store": "~12.1.1",
"expo-updates": "~0.16.4",
"fetch-mock": "^9.11.0",
"frames-react-native": "^1.1.3",
"gifted-charts-core": "^0.0.7",
"hermes-engine": "0.11.0",
"i18n-js": "^3.3.0",
"jest-cli": "^29.5.0",
"jest-svg-transformer": "^1.0.0",
"jwt-decode": "^4.0.0",
"libphonenumber-js": "^1.10.47",
"lodash": "^4.17.15",
"lottie-react-native": "^7.1.0",
"moment-timezone": "^0.5.32",
"native-base": "^3.4.28",
"patch-package": "^6.2.2",
"prop-types": "^15.7.2",
"querystring": "^0.2.1",
"react": "18.2.0",
"react-dom": "^18.2.0",
"react-fast-compare": "^3.2.0",
"react-native": "^0.72.0",
"react-native-adjust": "^4.38.0",
"react-native-animatable": "^1.3.3",
"react-native-appsflyer": "^6.14.3",
"react-native-biometrics": "^3.0.1",
"react-native-bootsplash": "^4.7.1",
"react-native-bundle-splitter": "^2.2.1",
"react-native-calendars": "^1.1289.0",
"react-native-charts-wrapper": "^0.6.0",
"react-native-circular-progress": "^1.3.9",
"react-native-confirmation-code-field": "^7.3.0",
"react-native-copilot": "^2.5.1",
"react-native-credit-card": "^0.1.9",
"react-native-device-info": "^10.0.2",
"react-native-expo-image-cache": "^4.0.8",
"react-native-fbsdk-next": "^13.1.1",
"react-native-ffmpeg": "^0.5.2",
"react-native-flash-message": "^0.4.0",
"react-native-gesture-handler": "^2.12.0",
"react-native-get-random-values": "^1.8.0",
"react-native-gifted-charts": "^1.4.44",
"react-native-google-places-autocomplete": "^2.4.1",
"react-native-htmlview": "^0.16.0",
"react-native-idfa": "https://github.com/ptomasroos/react-native-idfa.git",
"react-native-in-app-review": "^4.3.3",
"react-native-keyboard-aware-scroll-view": "0.9.5",
"react-native-keyboard-manager": "^6.5.11-0",
"react-native-linear-gradient": "^2.8.3",
"react-native-localize": "^2.1.1",
"react-native-maps": "1.3.2",
"react-native-modal": "^13.0.1",
"react-native-notifications": "^5.1.0",
"react-native-phone-input": "^1.3.4",
"react-native-photoeditorsdk": "^3.2.0",
"react-native-power-translator": "^1.1.1",
"react-native-reanimated": "3.14.0",
"react-native-reanimated-carousel": "^3.3.2",
"react-native-responsive-fontsize": "^0.5.0",
"react-native-responsive-screen": "^1.3.0",
"react-native-restart": "^0.0.27",
"react-native-safe-area-context": "^4.7.4",
"react-native-safe-area-view": "^1.1.1",
"react-native-screens": "~3.20.0",
"react-native-sectioned-multi-select": "https://github.com/optimizeq8/react-native-sectioned-multi-select.git",
"react-native-sectioned-multi-select-redesign": "https://github.com/SamyOptimize/react-native-sectioned-multi-select-redesign.git",
"react-native-smartlook-analytics": "^2.1.3",
"react-native-snap-carousel": "^3.9.1",
"react-native-stars": "^1.2.2",
"react-native-svg": "^14.1.0",
"react-native-swipeout": "^2.3.6",
"react-native-track-player": "^4.0.1",
"react-native-tracking-transparency": "^0.1.2",
"react-native-vector-icons": "^9.2.0",
"react-native-videoeditorsdk": "^3.2.0",
"react-native-webview": "^13.2.2",
"react-native-youtube-iframe": "^2.2.2",
"react-navigation": "^4.4.4",
"react-navigation-fluid-transitions": "^0.3.2",
"react-navigation-stack": "^1.9.4",
"react-navigation-tabs": "^2.11.2",
"react-redux": "^8.0.2",
"redux": "^4.0.4",
"redux-mock-store": "^1.5.4",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.3.0",
"sentry-expo": "~6.1.0",
"validate.js": "^0.13.1",
"victory-native": "^36.5.3",
"xdate": "^0.8.2",
"yarn": "^1.22.21"
},
"resolutions": {
"react-native/hermes-engine": "0.5.2-rc1",
"native-base/@codler/react-native-keyboard-aware-scroll-view": "2.0.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/plugin-transform-private-methods": "^7.22.5",
"@babel/preset-env": "^7.20.0",
"@babel/preset-react": "^7.14.5",
"@faker-js/faker": "^8.0.2",
"@testing-library/jest-native": "^5.4.2",
"axios-mock-adapter": "^1.20.0",
"babel-jest": "^29.5.0",
"babel-plugin-module-resolver": "^5.0.0",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-preset-expo": "^9.3.0",
"detox": "^20.5.0",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^29.2.1",
"jest-expo": "^48.0.0",
"metro-react-native-babel-preset": "0.76.5",
"moxios": "^0.4.0",
"nock": "^13.1.1",
"postinstall-prepare": "^2.0.0",
"react-native-svg-transformer": "^1.0.0",
"react-test-renderer": "18.2.0",
"reactotron-react-native": "^5.0.3",
"regenerator-runtime": "^0.13.9",
"xmldom": "^0.6.0"
},
"eslintConfig": {
"extends": [
"plugin:prettier/recommended"
],
"parser": "babel-eslint"
},
"engines": {
"node": ">=16"
},
"version": "1.0.0"
}
Deleted node_modules , pods and podfile.lock . None of them resolving these issues