Home » React-native » Error Installing Boost – Verification Checksum Was Incorrect

Error Installing Boost – Verification Checksum Was Incorrect

Pro Level React-native
Error Installing Boost - Verification Checksum Was Incorrect

Hey everyone! If you’re facing the Error Installing Boost in React Native during your development setup, especially when running pod install, you’re not alone. This is a common issue that many React Native developers run into. In this post, I’ll walk you through a step-by-step fix that worked perfectly for me.

1. Problem Summary

When running the iOS dependencies installation:

cd ios
pod install

You might encounter this error:

[!] Error installing Boost
[!] /usr/bin/curl -f ...
Verification checksum was incorrect, expected ...
Error Installing Boost - Verification Checksum Was Incorrect

This error typically arises due to an outdated or broken Boost library URL used in the default React Native podspecs.

2. Step-by-Step Fix for Boost Installation Error in React Native

1. Open the following file in your project directory:

node_modules/react-native/third-party-podspecs/boost.podspec

2. Search for this line in the podspec file

'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2'

3. Replace it with this correct and stable URL

'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2'

4. Save the file.

5. Run pod install again from your iOS directory

6. That’s it! You’ve resolved the Error Installing Boost in React Native

3. Why This Fix Works

The Boost URL originally used in React Native’s podspec refers to a resource on JFrog’s Artifactory, which is no longer reliable or available.
By updating it to the official Boost archive URL, you’re pointing to a consistent and checksum-matching source.

Still facing the error?
Reach out to me — I have working examples and would be happy to help you!

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *