728x90
반응형
ios js engine 이 업데이트 되고, 기존 react-native-debugger 가 ios real device 에서 정상작동을 하지 않고있다.
그래서 메트로를 통해서 콘솔을 보며 개발하고있었는데
문득
warn no apps connected. sending "reload" to all react native apps failed. make sure your app is running in the simulator or on a phone connected via usb.
이런 에러가 나면서 안되는 문제가 발생했다.
당연히 캐시들을 날리고 시작해보는 시도는 모두 해보았는데,
여전히 디버깅이 안돼서 급한 일정에 초조했다.
stackoverflow에서 어떤 개발자가
info.plist 에 해당 키값을 추가해보라고했는데,
새로운 키값을 추가하는건 사실 이해가되지않아서 진행하지않았는데
갑자기 메트로가 연결되었다.
문제는 캐시였던것같다.
결국
- yarn start --reset-cache
- yarn start
- cd ios && pod cache clean --all && pod deintegrate && rm Podfile.lock && pod install
- rebuild from Xcode and clean the build folder
- rm -rf node_modules and yarn to install the packages again
가 답이었다.
728x90
반응형
'ReactNative' 카테고리의 다른 글
[ React Native ] React Native clear the previous screen from the navigation stack (0) | 2023.07.18 |
---|---|
[ React Native ] spread 연산자 사용시, null 값이 나오는 경우 (0) | 2023.07.17 |
[ React Native ] ios ph:// 에 해당하는 파일 path 구하기 (0) | 2023.07.11 |
[ React Native ] Dimension.saddEventListner('change', ... 가 undfiend is not a function 에러를 야기할때 (0) | 2023.07.10 |
[ React Native ] typescript 정리 (0) | 2023.07.07 |