Skip to content

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

@peterpme

Description

@peterpme

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions