[React Native] React-hermes에 대한 specification을 찾을 수 없는 Error

    1. 에러 메세지

     

    [!] Unable to find a specification for `React-hermes` depended upon by `RNReanimated`

     

    2. 상황설명 

     

    패키지들을 깔고, 업데이트해주기위해서

    cd ios
    pod install

     

    를 입력하려 했는데

     

    [!] Unable to find a specification for `React-hermes` depended upon by `RNReanimated`
    
    You have either:
     * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
     * mistyped the name or version.
     * not added the source repo that hosts the Podspec to your Podfile.

    다음과 같은 에러가 떴다. 

     

    3. solution 

    해당 ios/Podfile

    에 import 가 끝나는 줄에다가

     

    ENV['USE_HERMES'] = '0'

    를 추가해주면 거짓말처럼 해결이 된다. 

    reference

     

    https://github.com/software-mansion/react-native-reanimated/issues/4562

    댓글