react native – After replace from 0.74.5 to 0.76.6, my App continues to be working Paper on iOS. Android works nice with Cloth

react native – After replace from 0.74.5 to 0.76.6, my App continues to be working Paper on iOS. Android works nice with Cloth


Been coping with this difficulty for a few weeks and I am going loopy!!

After updating my App to 0.76.6 following the information on Improve Helper, my app began nearly instantly in Android, YEY!

Nonetheless, after working RCT_NEW_ARCH_ENABLED=1 bundle exec pod set up, the iOs App nonetheless runs on Paper renderer, and lots of the Native modules fails to loading, and thus, the app just isn’t working…

How I do know Android is working with Cloth and iOs not?

Added this on my App.tsx entry level file

  const uiManager = international?.nativeFabricUIManager ? 'Cloth' : 'Paper'

  console.log(`Utilizing ${uiManager} on ${isIOS() ? 'ios' : 'android'}`)

iOs output:

LOG Operating "MySadApp" with {"rootTag":1,"initialProps":{}}
Utilizing Paper on ios

Android output:

(NOBRIDGE) LOG Operating "MySadApp" with {"rootTag":21,"initialProps":{},"material":true}
Utilizing Cloth on android

As you possibly can see, the variations are the NOBRIDGE directive on log entry, and that candy “material”:true on Android output.

I can’t present a copy repo, as it is a firm non-public repo 🙁

On the lookout for some advices on the right way to start debugging my iOS app, or any expertise you possibly can share with me about your improve course of to new Structure

Thanks rather a lot for studying this.

Further knowledge:

System:
  OS: macOS 14.3
  CPU: (12) arm64 Apple M2 Professional
  Reminiscence: 2.25 GB / 32.00 GB
  Shell:
    model: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    model: 18.18.0
    path: ~/.asdf/installs/nodejs/18.18.0/bin/node
  Yarn: Not Discovered
  npm:
    model: 9.8.1
    path: ~/.asdf/plugins/nodejs/shims/npm
  Watchman:
    model: 2024.12.02.00
    path: /decide/homebrew/bin/watchman
Managers:
  CocoaPods:
    model: 1.15.2
    path: /Customers/my_name/.asdf/shims/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:
    API Ranges:
      - "28"
      - "31"
      - "33"
      - "34"
      - "35"
    Construct Instruments:
      - 30.0.3
      - 31.0.0
      - 33.0.0
      - 33.0.1
      - 33.0.2
      - 34.0.0
      - 34.0.0
      - 34.0.0
      - 34.0.0
      - 35.0.0
      - 35.0.0
    System Photographs:
      - android-33 | Google APIs ARM 64 v8a
      - android-33 | Google Play ARM 64 v8a
      - android-34 | Google APIs ARM 64 v8a
    Android NDK: Not Discovered
IDEs:
  Android Studio: 2024.2 AI-242.23726.103.2422.12816248
  Xcode:
    model: 15.4/15F31d
    path: /usr/bin/xcodebuild
Languages:
  Java:
    model: 17.0.13
    path: /decide/homebrew/decide/openjdk@17/bin/javac
  Ruby:
    model: 2.7.6
    path: /Customers/my_name/.asdf/shims/ruby
npmPackages:
  "@react-native-community/cli":
    put in: 15.1.3
    needed: ^15.0.0
  react:
    put in: 18.3.1
    needed: 18.3.1
  react-native:
    put in: 0.76.6
    needed: ^0.76.0
  react-native-macos: Not Discovered
npmGlobalPackages:
  "*react-native*": Not Discovered
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

author avatar
roosho Senior Engineer (Technical Services)
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog. 
rooshohttps://www.roosho.com
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog. 

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here


Latest Articles

author avatar
roosho Senior Engineer (Technical Services)
I am Rakib Raihan RooSho, Jack of all IT Trades. You got it right. Good for nothing. I try a lot of things and fail more than that. That's how I learn. Whenever I succeed, I note that in my cookbook. Eventually, that became my blog.