pod install 과정에서 발생하는 Verification checksum was incorrect, expected xxx, got xxx 오류에 대해 해결방법을 알아봅니다
1) 문제점
💡 문제점
- pod install을 하는 과정에서 아래와 같은 문제가 발생하였습니다. - Verification checksum was incorrect, expected xxx, got xxx
2) 해결 방법
💡 해결 방법
- 주로 발생하는 react-native 버전은 0.73, 0.72, 0.71, 0.70 버전에서 발생하는 것 같고 향후 문제가 발생하지 않도록 버전을 업데이트하는 것을 권장하고 있습니다. - node_modules/react-native/third-party-podspecs/boost.podspec 경로의 파일로 접근을 합니다.
💡 react-native 버전을 확인하고 각각에 맞게 spec.source 부분을 수정해줍니다
diff --git a/node_modules/react-native/third-party-podspecs/boost.podspec b/node_modules/react-native/third-party-podspecs/boost.podspec
index 3950fce..3ae78ba 100644
--- a/node_modules/react-native/third-party-podspecs/boost.podspec
+++ b/node_modules/react-native/third-party-podspecs/boost.podspec
@@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
spec.homepage = '<http://www.boost.org>'
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
spec.authors = 'Rene Rivera'
- spec.source = { :http => '<https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2>',
+ spec.source = { :http => '<https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2>',
:sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }
# Pinning to the same version as React.podspec.