Description
I’m utilizing react-native 0.78.0. after upgrading I encoutered a problem
‘React/RCTAppSetupUtils.h’ file not discovered
Bundle.json
{
"identify": "mbc",
"model": "0.0.1",
"personal": true,
"scripts": {
"android": "expo run:android",
"ios": "react-native run-ios --simulator="iPhone 16 Professional" --verbose",
"begin": "react-native begin",
"take a look at": "jest",
"lint": "eslint .",
"cleanInstall": "rm -rf node_modules ios/Pods ios/Podfile.lock && watchman watch-del-all && npm i --legacy-peer-deps && npx pod-install",
"generate": "npx react-native generate-bootsplash ./src/belongings/original_icon.png --background-color=F7F5F0 --logo-width=100 --assets-path=./src/belongings --flavor=most important"
},
"dependencies": {
"@expo/react-native-action-sheet": "^4.1.0",
"@hookform/resolvers": "^4.1.0",
"@miblanchard/react-native-slider": "^2.6.0",
"@react-native-async-storage/async-storage": "^2.1.1",
"@react-native-community/cli": "^15.1.3",
"@react-native-community/datetimepicker": "^8.3.0",
"@react-native-community/netinfo": "^11.4.1",
"@react-native-community/picker": "^1.8.1",
"@react-native-community/push-notification-ios": "^1.11.0",
"@react-native-community/slider": "^4.5.5",
"@react-native-firebase/app": "^21.11.0",
"@react-native-firebase/crashlytics": "^21.11.0",
"@react-native-firebase/database": "^21.11.0",
"@react-native-firebase/messaging": "^21.11.0",
"@react-native-masked-view/masked-view": "^0.3.2",
"@react-navigation/native": "^7.0.14",
"@react-navigation/stack": "^7.1.1",
"@sorts/react": "^19.0.10",
"axios": "^1.7.9",
"expo": "^52.0.37",
"jwt-decode": "^4.0.0",
"newest": "^0.2.0",
"lodash": "^4.17.21",
"lodash.debounce": "^4.0.8",
"second": "^2.30.1",
"moment-timezone": "^0.5.47",
"numeral": "^2.0.6",
"react": "^19.0.0",
"react-hook-form": "^7.54.2",
"react-native": "^0.78.0",
"react-native-actionsheet": "^2.4.2",
"react-native-app-intro-slider": "^4.0.4",
"react-native-aws3": "^0.0.9",
"react-native-blob-util": "^0.21.2",
"react-native-bootsplash": "^6.3.3",
"react-native-custom-picker": "^0.4.0",
"react-native-deck-swiper": "^2.0.17",
"react-native-device-info": "^14.0.4",
"react-native-document-picker": "^9.3.1",
"react-native-fast-image": "^8.6.3",
"react-native-gesture-handler": "^2.24.0",
"react-native-get-random-values": "^1.11.0",
"react-native-gifted-chat": "^2.7.3",
"react-native-gradle-plugin": "^0.71.19",
"react-native-iap": "^12.16.2",
"react-native-image-crop-picker": "^0.42.0",
"react-native-image-picker": "^8.1.0",
"react-native-image-viewing": "^0.2.2",
"react-native-in-app-utils": "^6.1.0",
"react-native-inappbrowser-reborn": "^3.7.0",
"react-native-indicators": "^0.17.0",
"react-native-keyboard-aware-scroll-view": "^0.9.5",
"react-native-linear-gradient": "^2.8.3",
"react-native-macos": "^0.77.0",
"react-native-modal": "^13.0.1",
"react-native-modal-datetime-picker": "^18.0.0",
"react-native-onboarding-swiper": "^1.3.0",
"react-native-orientation": "^3.1.3",
"react-native-orientation-locker": "^1.7.0",
"react-native-pdf": "^6.7.7",
"react-native-permissions": "^5.2.5",
"react-native-picker-select": "^9.3.1",
"react-native-push-notification": "^8.1.1",
"react-native-range-slider": "^0.1.2",
"react-native-safe-area-context": "^5.2.0",
"react-native-safearea-height": "^1.0.8",
"react-native-screens": "^4.8.0",
"react-native-screenshot-prevent": "^1.2.1",
"react-native-sdwebimage": "^1.3.1",
"react-native-select-dropdown": "^4.0.1",
"react-native-share": "^12.0.9",
"react-native-simple-bottom-sheet": "^1.0.4",
"react-native-svg": "^15.11.1",
"react-native-swipe-gestures": "^1.0.5",
"react-native-toast-notifications": "^3.4.0",
"react-native-uuid": "^2.0.3",
"react-native-video": "^6.10.1",
"react-native-video-controls": "^2.8.1",
"react-native-view-overflow": "^0.0.5",
"react-native-webview": "^13.13.2",
"react-redux": "^9.2.0",
"redux": "^5.0.1",
"redux-persist": "^6.0.0",
"redux-saga": "^1.3.0",
"redux-thunk": "^3.1.0",
"rn-range-slider": "^2.2.2",
"uuid": "^11.1.0",
"yup": "^1.6.1"
},
"devDependencies": {
"@babel/core": "^7.26.9",
"@babel/runtime": "^7.26.9",
"@react-native-community/eslint-config": "^3.2.0",
"babel-jest": "^29.7.0",
"eslint": "^9.20.1",
"jest": "^29.7.0",
"metro-react-native-babel-preset": "^0.77.0",
"react-native-svg-transformer": "^1.5.0",
"react-test-renderer": "^19.0.0"
},
"jest": {
"preset": "react-native"
},
"rnpm": {
"belongings": [
"./src/assets/fonts/"
]
},
"volta": {
"node": "16.20.2",
"yarn": "4.3.1"
}
}
Steps to breed
Improve to React-Native 0.78.0
npm set up or yarn set up
Construct in xcode or run react-native run-ios
React Native Model
0.78.0
Affected Platforms
Runtime – iOS
Output of npx @react-native-community/cli data
System:
OS: macOS 15.1
CPU: (8) arm64 Apple M1
Reminiscence: 146.19 MB / 8.00 GB
Shell:
model: "5.9"
path: /bin/zsh
Binaries:
Node:
model: 23.7.0
path: /choose/homebrew/bin/node
Yarn:
model: 1.22.22
path: /choose/homebrew/bin/yarn
npm:
model: 2.15.12
path: ~/Paperwork/Hera/Challenge/MBC-Cellular/node_modules/.bin/npm
Watchman:
model: 2025.02.10.00
path: /choose/homebrew/bin/watchman
Managers:
CocoaPods:
model: 1.16.2
path: /Customers/ryanenguero/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.1
- iOS 18.1
- macOS 15.1
- tvOS 18.1
- visionOS 2.1
- watchOS 11.1
Android SDK:
API Ranges:
- "23"
- "33"
- "34"
- "35"
Construct Instruments:
- 30.0.3
- 31.0.0
- 34.0.0
- 35.0.0
System Photographs:
- android-35 | AOSP ATD Intel x86_64 Atom
- android-35 | ARM 64 v8a
- android-35 | Intel x86_64 Atom
- android-35 | Google APIs ARM 64 v8a
- android-35 | Google APIs Intel x86_64 Atom
- android-35 | Google Play ARM 64 v8a
- android-35 | Google Play Intel x86_64 Atom
- android-35 | Pre-Launch 16 KB Web page Dimension Google Play ARM 64 v8a
- android-35 | Pre-Launch 16 KB Web page Dimension Google Play ARM Intel x86_64
Atom
- android-35 | Pre-Launch 16 KB Web page Dimension Google APIs ARM 64 v8a
- android-35 | Pre-Launch 16 KB Web page Dimension Google APIs Intel x86_64 Atom
- android-35 | Google APIs ATD ARM 64
- android-35 | Google APIs ATD Intel x86_64 Atom
Android NDK: Not Discovered
IDEs:
Android Studio: 2024.2 AI-242.23726.103.2422.13016713
Xcode:
model: 16.1/16B40
path: /usr/bin/xcodebuild
Languages:
Java:
model: 17.0.14
path: /choose/homebrew/choose/openjdk@17/bin/javac
Ruby:
model: 2.7.5
path: /Customers/ryanenguero/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli":
put in: 15.1.3
wished: ^15.1.3
react:
put in: 19.0.0
wished: ^19.0.0
react-native:
put in: 0.78.0
wished: ^0.78.0
react-native-macos:
put in: 0.77.0
wished: ^0.77.0
npmGlobalPackages:
"*react-native*": Not Discovered
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: true
newArchEnabled: true
Stacktrace or Logs
error =non-modular-include-in-framework-module -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wunreachable-code -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -Wno-c++11-extensions -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Winvalid-offsetof -Wno-sign-conversion -Winfinite-recursion -Wmove -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wrange-loop-analysis -Wno-semicolon-before-method-body -index-store-path /Customers/ryanenguero/Library/Developer/Xcode/DerivedData/MBC-fidzbekadlarkmaehrpgckufyetp/Index.noindex/DataStore -Wno-comma -Wno-shorten-64-to-32 @/Customers/ryanenguero/Library/Developer/Xcode/DerivedData/MBC-fidzbekadlarkmaehrpgckufyetp/Construct/Intermediates.noindex/MBC.construct/Debug-iphoneos/MBC.construct/Objects-normal/arm64/af3fcb34312c57c0f52879cdce924b91-common-args.resp -MMD -MT dependencies -MF /Customers/ryanenguero/Library/Developer/Xcode/DerivedData/MBC-fidzbekadlarkmaehrpgckufyetp/Construct/Intermediates.noindex/MBC.construct/Debug-iphoneos/MBC.construct/Objects-normal/arm64/AppDelegate.d --serialize-diagnostics /Customers/ryanenguero/Library/Developer/Xcode/DerivedData/MBC-fidzbekadlarkmaehrpgckufyetp/Construct/Intermediates.noindex/MBC.construct/Debug-iphoneos/MBC.construct/Objects-normal/arm64/AppDelegate.dia -c /Customers/ryanenguero/Paperwork/Hera/Challenge/MBC-Cellular/ios/MBC/AppDelegate.mm -o /Customers/ryanenguero/Library/Developer/Xcode/DerivedData/MBC-fidzbekadlarkmaehrpgckufyetp/Construct/Intermediates.noindex/MBC.construct/Debug-iphoneos/MBC.construct/Objects-normal/arm64/AppDelegate.o -index-unit-output-path /MBC.construct/Debug-iphoneos/MBC.construct/Objects-normal/arm64/AppDelegate.o
error 'React/RCTAppSetupUtils.h' file not discovered
error generated.
error Did not construct ios challenge. "xcodebuild" exited with error code '65'. To debug construct logs additional, think about constructing your app with Xcode.app, by opening 'MBC.xcworkspace'.