[RN][Warning] RCTBridge required dispatch_sync to load REAModule. This may lead to deadlocks


[RN][Warning] RCTBridge required dispatch_sync to load REAModule. This may lead to deadlocks

원래 문제없던 iOS 앱 빌드가 MacOS를 Ventura13.0 업그레이드 -> Xcode 업그레이드 이후 첫 앱 빌드 시 에러가 났다: RCTBridge required dispatch_sync to load REAModule. This may lead to deadlocks. 많은 해결안에서 AppDelegate.m을 수정하라고 하는데... 알다시피 RN 0.69.x 버전 이후로 AppDelegate.m이 아닌 AppDelegate.mm이 생성된다. 따라서 기존 해결안 적용 불가능. 여기서는 4가지 해결 방법이 있다. Simply ignore the warning It only appears in debug mode, so you won't see this in production build of your app Add the following code In index.js of your app: (필자는 이 방법으로 해결.) import { LogBox } from 'reac...


#appdelegate #deadlocks #reactnative #REAModule #warning

원문링크 : [RN][Warning] RCTBridge required dispatch_sync to load REAModule. This may lead to deadlocks