Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

react native cli. problem with Error installing boost

I try to build new react native project. but is not working fine on IOS. when I try to install podfile these error came:

[!] Error installing boost
Verification checksum was incorrect, expected 6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e, got 5e89103d9b70bba5c91a794126b169cb67654be2051f90cf7c22ba6893ede0ff

to solve these problem

like image 327
Abdullah Ali Avatar asked May 09 '26 13:05

Abdullah Ali


1 Answers

you have to change the source of the repo.

Go to node_modules -> react-native -> third-party-podspec -> boost.podspec

change the spec.source from jfrog to sourceforge Only change line

spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2',
                            :sha256 => '6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e' }

to

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

it will work.

Why it does that ? i don't know.

like image 151
Amaury Andrade Avatar answered May 11 '26 02:05

Amaury Andrade



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!