React Native Fetch Blob creating issue while pod install on iOS
Asked Answered
S

3

4

I've install react-native-fetch-blob on react-native version 0.60.5.While I run pod install, the error appears as you can see in the screenshot

Kindly guide me on how to resolve this issue

Sapindaceous answered 8/2, 2020 at 19:33 Comment(0)
A
14

Go to ./node-module/react-native-fetch-blob/react-native-fetch-blob.podspec & change

s.dependency 'React/Core'

to

s.dependency 'React-Core'

Hope this helps you. Feel free for doubts.

Airdrie answered 8/2, 2020 at 19:51 Comment(0)
S
1

you can use this instead for the new version of react native 0.60 and up https://github.com/joltup/rn-fetch-blob

Stutman answered 8/2, 2020 at 19:51 Comment(0)
U
0

change dependency React/Core to React-Core using the following command

grep -rl "s.dependency 'React/Core'" node_modules/ | xargs sed -i '' 's=React/Core=React-Core=g'

or

you can go to node modules at path ./node-module/react-native-fetch-blob/react-native-fetch-blob.podspec and change React/Core to React-Core

Uranalysis answered 28/10, 2022 at 12:21 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.