react-native-bignumber icon indicating copy to clipboard operation
react-native-bignumber copied to clipboard

Expo 51 + React Native 0.74.5 + New Arch Enabled: "Failed to install react-native-bignumber"

Open peterpme opened this issue 1 year ago • 4 comments

Reproduction steps:

  • npx create-expo-app@latest -e with-new-arch
  • npm install react-native-bignumber
  • npx expo prebuild --clean -p ios
  • npm run ios
  • watchman watch-del-all
  • npm run start --reset-cache

Versions:

  • expo 51.0.31
  • react-native-bignumber 0.2.3
  • react-native 0.74.5

System:

  • XCode 16
  • Sequoia 15

When I disable the new architecture, everything works properly.

I've created a repo as well (with the ios directory committed): Base Repo URL

Thank you!

React Native Config:

   "reactNativeVersion": "0.74",
  "dependencies": {
    "expo": {
      "root": "~/Projects/new-arch-bignumber-test/node_modules/expo",
      "name": "expo",
      "platforms": {
        "ios": {
          "podspecPath": "~/Projects/new-arch-bignumber-test/node_modules/expo/Expo.podspec",
          "version": "51.0.34",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "~/Projects/new-arch-bignumber-test/node_modules/expo/android",
          "packageImportPath": "import expo.modules.ExpoModulesPackage;",
          "packageInstance": "new ExpoModulesPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "~/Projects/new-arch-bignumber-test/node_modules/expo/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null
        }
      }
    },
    "react-native-bignumber": {
      "root": "~/Projects/new-arch-bignumber-test/node_modules/react-native-bignumber",
      "name": "react-native-bignumber",
      "platforms": {
        "ios": {
          "podspecPath": "~/Projects/new-arch-bignumber-test/node_modules/react-native-bignumber/react-native-bignumber.podspec",
          "version": "0.2.3",
          "configurations": [],
          "scriptPhases": []
        },
        "android": {
          "sourceDir": "~/Projects/new-arch-bignumber-test/node_modules/react-native-bignumber/android",
          "packageImportPath": "import com.margelo.bignumber.BigNumberPackage;",
          "packageInstance": "new BigNumberPackage()",
          "buildTypes": [],
          "componentDescriptors": [],
          "cmakeListsPath": "~/Projects/new-arch-bignumber-test/node_modules/react-native-bignumber/android/build/generated/source/codegen/jni/CMakeLists.txt",
          "cxxModuleCMakeListsModuleName": null,
          "cxxModuleCMakeListsPath": null,
          "cxxModuleHeaderName": null
        }
      }
    }
  },

Screenshot:

image

peterpme avatar Sep 30 '24 14:09 peterpme

@Szymon20000 can you take a look at this? 🙏

mrousavy avatar Sep 30 '24 18:09 mrousavy

This library does not support the new architecture... yet

renanmav avatar Feb 03 '25 14:02 renanmav

+1 on this issue

patrikduksin avatar Mar 26 '25 00:03 patrikduksin

I have an attempt to close this on #73

renanmav avatar May 13 '25 22:05 renanmav