I am trying to update react native app from 0.64 to 0.73.So far I managed to run android app, but I still can't run iOS.
I am stuck at this error
Cannot initialize a parameter of type 'NSPointerArray *' with an lvalue of type 'NSHashTable<RCTShadowView *> *__strong'
This is my react-native info
System: OS: macOS 14.4.1 CPU: (11) arm64 Apple M3 Pro Memory: 101.98 MB / 18.00 GB Shell: version: "5.9" path: /bin/zshBinaries: Node: version: 21.7.3 path: ~/.nvm/versions/node/v21.7.3/bin/node Yarn: Not Found npm: version: 10.5.0 path: ~/.nvm/versions/node/v21.7.3/bin/npm Watchman: version: 2024.04.15.00 path: /usr/local/bin/watchmanManagers: CocoaPods: version: 1.15.2 path: /usr/local/bin/podSDKs: iOS SDK: Platforms: - DriverKit 23.4 - iOS 17.4 - macOS 14.4 - tvOS 17.4 - visionOS 1.1 - watchOS 10.4 Android SDK: API Levels: - "29" - "30" - "33" - "34" Build Tools: - 25.0.2 - 25.0.3 - 26.0.0 - 26.0.1 - 26.0.2 - 26.0.3 - 27.0.0 - 27.0.1 - 27.0.2 - 27.0.3 - 28.0.0 - 28.0.1 - 28.0.2 - 28.0.3 - 29.0.0 - 29.0.1 - 29.0.2 - 29.0.3 - 30.0.0 - 30.0.1 - 30.0.2 - 30.0.3 - 31.0.0 - 32.0.0 - 32.1.0 - 33.0.0 - 33.0.1 - 33.0.2 - 33.0.3 - 34.0.0 - 34.0.0 - 34.0.0 - 34.0.0 - 35.0.0 - 35.0.0 - 35.0.0 System Images: - android-33 | Google Play ARM 64 v8a - android-34 | Google APIs ARM 64 v8a - android-34 | Google Play ARM 64 v8a - android-VanillaIceCream | Google Play ARM 64 v8a Android NDK: Not FoundIDEs: Android Studio: 2023.2 AI-232.10300.40.2321.11668458 Xcode: version: 15.3/15E204a path: /usr/bin/xcodebuildLanguages: Java: version: 20.0.2 path: /usr/bin/javac Ruby: version: 2.6.10 path: /usr/bin/rubynpmPackages:"@react-native-community/cli": Not Found react: installed: 18.2.0 wanted: 18.2.0 react-native: installed: 0.73.6 wanted: 0.73.6 react-native-macos: Not FoundnpmGlobalPackages:"*react-native*": Not FoundAndroid: hermesEnabled: true newArchEnabled: falseiOS: hermesEnabled: true newArchEnabled: false
I tried to delete Pods directory and Podfile.lock, and run pod install
again, but it didn't fix anything.
I also followed all the steps from react-native upgrade guide which seems to work for android, however, for iOS it doesn't.