📱Mobile/오류해결

[React Native] Error installing boost

뉴발자 2025. 4. 3.
728x90

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

에러 상황

pod install 명령어 실행 시 아래와 같은 에러가 발생하고 pod install 명령어가 실행되지 않았다.

 

 

에러 코드

Verification checksum was incorrect, expected f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41, got 79e6d3f986444e5a80afbeccdaf2d1c1cf964baa8d766d20859d653a16c39848

 

 

 

해결 방법

찾아보니 리액트 네이티브와 boost 버전이 호환되지 않아서 발생하는 오류였다.

 

node_modules/react-native/third-party-podspecs/boost.podspec경로의 파일을 열어서

 

spec.source 부분을 아래 코드로 수정한 후 pod install 명령어를 실행시켜주면 정상적으로 설치된다.

spec.source = { :http => 'https://sourceforge.net/projects/boost/files/boost/1.83.0/boost_1_83_0.tar.bz2',
:sha256 => '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e' }

 

 

참고 사이트

https://devsnote.com/@837/post/8422

 

https://devsnote.com/@837/post/8422

React Native 0.73.1에서 pod install시 다음과 같이 boost 오류가 발생한다. Installing boost (1.83.0) [!] Error installing boost Verification checksum was incorrect, expected 6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e, got

devsnote.com

 

 

 

 

 

 

 

 

 

 

728x90

댓글