Exception ‘-[RCTCxxBridge networking]: unrecognized selector sent to instance 0x6000003c4bf0’ was thrown while invoking addNetworkingHandler on target BlobModule with params
I had this issue for the longest time and nothing worked. In the end I realized that my RCTNetwork library wasn’t being linked correctly. AndreL on stackoverflow posted the fix: https://stackoverflow.com/questions/47159026/xcode-librarby-not-found-for-irctnetwork
Steps to fix:
-
Drag the file, RCTNetwork.xcodeproj from node_modules/react-native/Libraries/Network/ to the libraries file in Xcode.
-
Click on Build Phases on the top right-hand corner in Xcode.
-
Click the drop down of Link Binary With Libraries, then the + sign to add the libRCTNetwork.a
-
Run the build and restart your emulator or device.