Exception '-[RCTCxxBridge networking]

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:

  1. Drag the file, RCTNetwork.xcodeproj from node_modules/react-native/Libraries/Network/ to the libraries file in Xcode.

  2. Click on Build Phases on the top right-hand corner in Xcode.

  3. Click the drop down of Link Binary With Libraries, then the + sign to add the libRCTNetwork.a

  4. Run the build and restart your emulator or device.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值