I'm using RN 0.61.5 and did an installation using npm of rn-fetch-blob latest version. Their documentation says add pods if using Cocoapods which I did, would I need to do linking for the package? Since it is RN 0.6+, I know it is not required to run react-native link
and I also tried manual linking during which I get an error 'React/RCTDefines.h' file not found
. For that problem, I have also tried in Xcode updating Search Paths but that didn't work either. When I leave out linking, Blob build function doesn't work but the build succeeds. Does anyone have an idea of whether I need linking or not and how to do it? Their documentation is vague.
Asked
Active
Viewed 953 times
0

Ivditi Gabeskiria
- 302
- 1
- 2
- 9
-
Did you use cocoa pods before installing fetch-blob? – Murmeltier Mar 28 '20 at 18:29
-
Yes, pods were working fine. – Ivditi Gabeskiria Mar 29 '20 at 19:29
-
And you opened the xcode works space instead of xcode project? – Murmeltier Mar 29 '20 at 19:46
-
1Yes, I have been working with lot of modules, so I tried common ways of fixing them. My question is do I need to link it or pods installation is enough? – Ivditi Gabeskiria Mar 30 '20 at 20:33
-
Normally pods should be enough (based on my experience) due to the autolinking. – Murmeltier Mar 31 '20 at 09:12
-
I have the same issue, did you fix it? – Vito Lipari Sep 21 '20 at 09:34