Skip to content

Unable to find a specification for RCT-Folly depended upon by AmplifyRTNCore - do not install folly manually if prebuilt RN deps are used? #14552

@victoravr

Description

@victoravr

Before opening, please confirm:

JavaScript Framework

React Native

Amplify APIs

Not applicable

Amplify Version

v6

Amplify Categories

No response

Backend

None

Environment information

# Put output below this line
  System:
    OS: macOS 15.6.1
    CPU: (8) arm64 Apple M2
    Memory: 95.06 MB / 24.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 24.7.0 - /opt/homebrew/bin/node
    npm: 11.5.1 - /opt/homebrew/bin/npm
    bun: 1.2.21 - /opt/homebrew/bin/bun
    Watchman: 2025.09.01.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 140.0.7339.133
    Safari: 18.6
  npmPackages:
    @aws-amplify/react-native: ^1.1.10 => 1.1.10 
    @aws-amplify/ui-react: ^6.12.0 => 6.12.0 
    @aws-amplify/ui-react-ai: ^1.5.0 => 1.5.0 
    @aws-amplify/ui-react-internal:  undefined ()
    @aws-amplify/ui-react-native: ^2.6.0 => 2.6.0 
    @aws-amplify/ui-react-server:  undefined ()
    @babel/core: ^7.27.4 => 7.28.4 
    @babel/preset-env: ^7.27.2 => 7.28.3 
    @babel/runtime: ^7.27.6 => 7.28.4 
    @eslint/compat: ^1.2.9 => 1.3.2 
    @eslint/eslintrc: ^3.3.1 => 3.3.1 
    @eslint/js: ^9.28.0 => 9.35.0 
    @expo-google-fonts/inter: ^0.4.1 => 0.4.1 
    @expo-google-fonts/mulish: ^0.4.1 => 0.4.2 
    @expo-google-fonts/space-grotesk: ^0.4.1 => 0.4.1 
    @expo/metro-runtime: ~6.1.1 => 6.1.1 
    @react-native-async-storage/async-storage: 2.2.0 => 2.2.0 
    @react-native-community/netinfo: 11.4.1 => 11.4.1 
    @react-navigation/native: ^7.1.16 => 7.1.17 
    @react-navigation/native-stack: ^7.3.23 => 7.3.26 
    @shopify/flash-list: 2.0.2 => 2.0.2 
    @testing-library/react-native: ^13.2.0 => 13.3.3 
    @types/chance: ^1.1.6 => 1.1.7 
    @types/jest: ^29.5.14 => 29.5.14 
    @types/react: ~19.1.10 => 19.1.12 
    apisauce: 3.2.0 => 3.2.0 
    aws-amplify: ^6.15.5 => 6.15.5 
    aws-amplify/adapter-core:  undefined ()
    aws-amplify/adapter-core/internals:  undefined ()
    aws-amplify/analytics:  undefined ()
    aws-amplify/analytics/kinesis:  undefined ()
    aws-amplify/analytics/kinesis-firehose:  undefined ()
    aws-amplify/analytics/personalize:  undefined ()
    aws-amplify/analytics/pinpoint:  undefined ()
    aws-amplify/api:  undefined ()
    aws-amplify/api/internals:  undefined ()
    aws-amplify/api/server:  undefined ()
    aws-amplify/auth:  undefined ()
    aws-amplify/auth/cognito:  undefined ()
    aws-amplify/auth/cognito/server:  undefined ()
    aws-amplify/auth/enable-oauth-listener:  undefined ()
    aws-amplify/auth/server:  undefined ()
    aws-amplify/data:  undefined ()
    aws-amplify/data/server:  undefined ()
    aws-amplify/datastore:  undefined ()
    aws-amplify/in-app-messaging:  undefined ()
    aws-amplify/in-app-messaging/pinpoint:  undefined ()
    aws-amplify/push-notifications:  undefined ()
    aws-amplify/push-notifications/pinpoint:  undefined ()
    aws-amplify/storage:  undefined ()
    aws-amplify/storage/s3:  undefined ()
    aws-amplify/storage/s3/server:  undefined ()
    aws-amplify/storage/server:  undefined ()
    aws-amplify/utils:  undefined ()
    aws-sigv4-fetch: ^4.4.1 => 4.4.1 
    axios: ^1.11.0 => 1.11.0 
    babel-jest: ^30.1.2 => 30.1.2 (29.7.0)
    chance: ^1.1.13 => 1.1.13 
    date-fns: ^4.1.0 => 4.1.0 
    eslint: ^9.35.0 => 9.35.0 
    eslint-config-expo: ~10.0.0 => 10.0.0 
    eslint-config-prettier: ^10.1.8 => 10.1.8 
    eslint-config-standard: ^17.1.0 => 17.1.0 
    eslint-plugin-n: ^17.21.3 => 17.21.3 
    eslint-plugin-prettier: ^5.5.4 => 5.5.4 
    eslint-plugin-promise: ^7.2.1 => 7.2.1 
    eslint-plugin-react-hooks: ^5.2.0 => 5.2.0 
    eslint-plugin-react-native: ^5.0.0 => 5.0.0 
    eslint-plugin-reactotron: ^0.1.7 => 0.1.7 
    expo: ^54.0.1 => 54.0.1 
    expo-audio: ~1.0.10 => 1.0.10 
    expo-auth-session: ~7.0.7 => 7.0.7 
    expo-build-properties: ~1.0.7 => 1.0.7 
    expo-constants: ~18.0.8 => 18.0.8 
    expo-font: ~14.0.7 => 14.0.7 
    expo-image: ~3.0.7 => 3.0.7 
    expo-linking: ~8.0.7 => 8.0.7 
    expo-localization: ~17.0.6 => 17.0.6 
    expo-splash-screen: ~31.0.8 => 31.0.8 
    expo-status-bar: ~3.0.7 => 3.0.7 
    expo-system-ui: ~6.0.7 => 6.0.7 
    formik: ^2.4.6 => 2.4.6 
    i18next: ^25.3.2 => 25.5.2 
    intl-pluralrules: ^2.0.1 => 2.0.1 
    jest: ~29.7.0 => 29.7.0 
    jest-expo: ~54.0.10 => 54.0.10 
    mobx: 6.13.7 => 6.13.7 
    mobx-react-lite: 4.1.0 => 4.1.0 
    mobx-state-tree: 7.0.2 => 7.0.2 
    patch-package: ^8.0.0 => 8.0.0 
    postinstall-prepare: 2.0.0 => 2.0.0 
    prettier: ^3.6.2 => 3.6.2 
    react: 19.1.0 => 19.1.0 (19.2.0-canary-5252281c-20250408)
    react-dom: 19.1.0 => 19.1.0 (19.2.0-canary-5252281c-20250408)
    react-i18next: ^15.6.1 => 15.7.3 
    react-native: 0.81.4 => 0.81.4 
    react-native-gesture-handler: ~2.28.0 => 2.28.0 
    react-native-get-random-values: ~1.11.0 => 1.11.0 
    react-native-keyboard-controller: 1.18.5 => 1.18.5 
    react-native-mmkv: 3.3.0 => 3.3.0 
    react-native-progress: ^5.0.1 => 5.0.1 
    react-native-reanimated: ~4.1.0 => 4.1.0 
    react-native-safe-area-context: ~5.6.0 => 5.6.1 
    react-native-screens: ~4.16.0 => 4.16.0 
    react-native-svg: 15.12.1 => 15.12.1 
    react-native-url-polyfill: ^2.0.0 => 2.0.0 
    react-native-web: ^0.21.0 => 0.21.1 
    react-native-worklets: 0.5.1 => 0.5.1 
    react-test-renderer: 19.0.0 => 19.0.0 (19.1.0)
    reactotron-core-client: 2.9.7 => 2.9.7 
    reactotron-mst: ^3.1.11 => 3.1.11 
    reactotron-react-js: ^3.3.16 => 3.3.16 
    reactotron-react-native: ^5.1.14 => 5.1.16 
    reactotron-react-native-mmkv: ^0.2.8 => 0.2.8 
    ts-jest: ^29.4.0 => 29.4.1 
    ts-node: ^10.9.2 => 10.9.2 
    typescript: ~5.9.2 => 5.9.2 
  npmGlobalPackages:
    corepack: 0.34.0
    npm: 11.5.1

Describe the bug

Getting the following error after upgrading to Expo SDK 54 :

$ bun x expo prebuild --clean
...
✔ Cleared android, ios code
✔ Created native directories
✔ Updated package.json | no changes
...
✔ Finished prebuild
⚠️  Something went wrong running `pod install` in the `ios` directory.
Command `pod install` failed.
└─ Cause: Unable to find a specification for `RCT-Folly` depended upon by `AmplifyRTNCore`

You have either:
 * mistyped the name or version.
 * not added the source repo that hosts the Podspec to your Podfile.


pod install --repo-update --ansi exited with non-zero code: 1

Please have a look at similar issues raised for other libraries:

dominicstop/react-native-ios-utilities#30
dominicstop/react-native-ios-context-menu#135

Expected behavior

No error "Unable to find a specification for RCT-Folly depended upon by AmplifyRTNCore" - perhaps do not install folly manually if prebuilt RN deps are used?

Reproduction steps

bun x expo prebuild --clean

Code Snippet

// Put your code below this line.

Log output

// Put your logs below this line


aws-exports.js

No response

Manual configuration

No response

Additional configuration

No response

Mobile Device

No response

Mobile Operating System

No response

Mobile Browser

No response

Mobile Browser Version

No response

Additional information and screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions