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 에 해당 키값을 추가해보라고했는데,

 

새로운 키값을 추가하는건 사실 이해가되지않아서 진행하지않았는데

 

갑자기 메트로가 연결되었다.

 

문제는 캐시였던것같다.

 

결국 

 

  1. yarn start --reset-cache
  2. yarn start
  3. cd ios && pod cache clean --all && pod deintegrate && rm Podfile.lock && pod install
  4. rebuild from Xcode and clean the build folder
  5. rm -rf node_modules and yarn to install the packages again

가 답이었다.

728x90
반응형

+ Recent posts