micahmills
micahmills

Reputation: 888

React Native app won't build after update

I recently came back to an old React Native project that was originally built with React Native 0.23, I have tried to update the app to the latest version of React Native 0.43.3. I now have a problem where the iOS app will fail to build with the error

ld: library not found for -lRCTWebSocketDebugger
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any ideas how to fix this?

Upvotes: 1

Views: 502

Answers (1)

YSK
YSK

Reputation: 1614

IIRC at some point (can't remember which version), RCTWebSocketDebugger.xcodeproj was renamed to RCTWebSocket.xcodeproj so you need to remove the dependency on the old lib through XCode and then run react-native link to take a dependency on the new lib.

Upvotes: 1

Related Questions