I upgraded my react native from 0.75.2 to 0.79.1 in order to fix the issue with the latest Xcode update. I followed exactly everything in the upgrade helper. After a long of trying to run the app, I finally got to know that I hade to add AppDelegate.swift file to the compile sources (as in the picture) 
Now, the problem I’m getting seems to have something to do with javascript. my babel.config.js file is as follows:
module.exports = {
presets: ['module:@react-native/babel-preset'],
plugins: ['module:react-native-dotenv', 'react-native-reanimated/plugin'],
};
my package.json file is as follows:
{
"name": "lutfen",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"test": "jest",
"postinstall": "patch-package"
},
"dependencies": {
"@gorhom/bottom-sheet": "^4.6.4",
"@os-team/i18next-react-native-language-detector": "^1.0.34",
"@react-native-async-storage/async-storage": "^2.0.0",
"@react-native-clipboard/clipboard": "^1.15.0",
"@react-native-community/blur": "latest",
"@react-navigation/bottom-tabs": "^6.6.1",
"@react-navigation/native": "^6.1.18",
"@react-navigation/native-stack": "^6.11.0",
"@reduxjs/toolkit": "^2.2.8",
"axios": "^1.7.7",
"i18next": "^23.16.5",
"react": "19.0.0",
"react-i18next": "^15.1.1",
"react-native": "0.79.1",
"react-native-fast-image": "^8.6.3",
"react-native-gesture-handler": "^2.20.0",
"react-native-linear-gradient": "^2.8.3",
"react-native-localize": "^3.4.1",
"react-native-reanimated": "^3.15.4",
"react-native-render-html": "^6.3.4",
"react-native-safe-area-context": "^5.4.0",
"react-native-screens": "^3.34.0",
"react-native-share": "^11.0.4",
"react-native-svg": "^15.11.2",
"react-native-webview": "^13.12.3",
"react-redux": "^9.1.2",
"redux": "^5.0.1"
},
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.3",
"@babel/runtime": "^7.25.0",
"@react-native-community/cli": "18.0.0",
"@react-native-community/cli-platform-android": "18.0.0",
"@react-native-community/cli-platform-ios": "18.0.0",
"@react-native/babel-preset": "0.79.1",
"@react-native/eslint-config": "0.79.1",
"@react-native/metro-config": "0.79.1",
"@react-native/typescript-config": "0.79.1",
"@types/jest": "^29.5.13",
"@types/react": "^19.0.0",
"@types/react-test-renderer": "^19.0.0",
"eslint": "^8.19.0",
"jest": "^29.6.3",
"patch-package": "^8.0.0",
"postinstall-postinstall": "^2.1.0",
"prettier": "2.8.8",
"react-native-dotenv": "^3.4.11",
"react-native-svg-transformer": "^1.5.0",
"react-test-renderer": "19.0.0",
"typescript": "5.0.4"
},
"engines": {
"node": ">=18"
}
}
is there any way I can track the error? I tried to remove everything and clean all the caches and builds but the problem persist. Also, I have no information about the error (also not in the console). all I get is this: 
could you please give me any advice about how to deal with this error?