1

we just upgraded our react native app from react-native 0.59 to 0.61 but now I get a really strange error in XCode which I don't know how to solve.

It seems to have something to do with the library https://github.com/joltup/rn-fetch-blob which we use to download files from the server to the app. According to their README.md, they support react-native version 0.60 and above but it doesn't seem to work.

The error seems to be origniating from node_modules/rn-fetch-blob/ios/RNFetchBlob/RNFetchBlob.h:22:

enter image description here

Anyone who can support us in solving this issue? Thanks in advance for your support!

tzwickl
  • 1,341
  • 2
  • 15
  • 31

2 Answers2

1

Just to point out one fact, RN0.61 has removed React.xcodeproj. This is a breaking changes we should expect during the upgrade.

Update: managed to find a 'workaround' for now.

Crazyrems
  • 2,551
  • 22
  • 40
Tommy Leong
  • 2,509
  • 6
  • 30
  • 54
0

you ought to use version number 0.10.8 of rn-fetch-blob.

if you still have same problem, you should check this link about manually link package.

Kubilay Kiymaci
  • 472
  • 3
  • 14