Skip to content

Podspec s.dependency error: Unable to find a specification React-Core  #457

Closed
@wangxxxb

Description

@wangxxxb

Current behavior

[!] Unable to find a specification for `React-Core` depended upon by `RNCAsyncStorage`

Expected behavior

Run pod install successfully

Repro steps

1. react native cli init using latest RN
2. pod install async-storage

Environment

  • Async Storage version: 1.12.1
  • React-Native version:0.63.3
  • Platform tested: IOS
  • Logs/Error that are relevant:

Current workaround from joltup/rn-fetch-blob#402 (comment)
Use patch-package to apply a quick patch.

Change node_modules/@react-native-community/async-storage/RNCAsyncStorage.podspec:

+  s.dependency 'React/Core'
-  s.dependency 'React-Core'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingplatform: iOSThis is iOS specific

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions