Repository navigation
[Error installing boost] Verification checksum was incorrect, expected #42110
Copy link
Copy link
Closed
Labels
Description
Description
[!] Error installing boost
Verification checksum was incorrect, expected f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41, got 5e89103d9b70bba5c91a794126b169cb67654be2051f90cf7c22ba6893ede0ff
Error occurred during React Native pod install. Please help
Steps to reproduce
npx react-native@latest init AwesomeProject
cd ios & pod install
React Native Version
0.73.1
Affected Platforms
Runtime - iOS
Output of npx react-native info
System:
OS: macOS 14.1.1
CPU: (10) arm64 Apple M2 Pro
Memory: 355.98 MB / 16.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 20.10.0
path: ~/.nvm/versions/node/v20.10.0/bin/node
Yarn:
version: 1.22.19
path: /opt/homebrew/bin/yarn
npm:
version: 10.2.3
path: ~/.nvm/versions/node/v20.10.0/bin/npm
Watchman:
version: 2023.11.27.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.14.3
path: /Users/abel/.gem/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- watchOS 10.2
Android SDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9619390
Xcode:
version: 15.1/15C65
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.11
path: /usr/bin/javac
Ruby:
version: 2.7.6
path: /Users/abel/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.1
wanted: 0.73.1
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: false
abel@Abelui-MacBookPro ~/Desktop/AwesomeProject main >....
Platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- watchOS 10.2
Android SDK: Not Found
IDEs:
Android Studio: 2022.1 AI-221.6008.13.2211.9619390
Xcode:
version: 15.1/15C65
path: /usr/bin/xcodebuild
Languages:
Java:
version: 11.0.11
path: /usr/bin/javac
Ruby:
version: 2.7.6
path: /Users/abel/.rbenv/shims/ruby
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.73.1
wanted: 0.73.1
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: false
iOS:
hermesEnabled: Not found
newArchEnabled: false
Stacktrace or Logs
[!] Error installing boost
Verification checksum was incorrect, expected 6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e, got 5e89103d9b70bba5c91a794126b169cb67654be2051f90cf7c22ba6893ede0ff
Reproducer
https://github.com/kdn0325/AwesomeProject-bug-report
Screenshots and Videos

Reactions are currently unavailable
Activity
wswebcreation commentedon Dec 31, 2023
I've filed this ticket for the Boost project (assuming I'm right)
Curling the file also gives a different checksum
curl -sL https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.tar.bz2 | shasum -a 256 5e89103d9b70bba5c91a794126b169cb67654be2051f90cf7c22ba6893ede0ff -It was also asked here on SO.
Happening on my Mac and also on GitHub Actions
wswebcreation commentedon Dec 31, 2023
Ok, created a simple patch for this for RN 0.73.1, but everyone could do this for their version
Install
patch-package:Modify
boost.podspec:change
to
Create a Patch:
npx patch-package react-nativeto create a patch file based on your changes. This command generates a patch file in a directory calledpatches/.Apply the Patch Automatically:
package.jsonto apply the patch after installation. Add the following to your scripts section:npm install,patch-packagewill automatically apply the patch to theboost.podspecfile.cortinico commentedon Jan 2, 2024
Duplicates #42109
abdullahwt commentedon Jan 2, 2024
netanelz-amdocs commentedon Jan 7, 2024
It started to happen again today....
OmerWow commentedon Jan 7, 2024
Yeah happens to me again too...
mpanac commentedon Jan 7, 2024
yea i am having same issues damn...
OmkarK45 commentedon Jan 7, 2024
Same issue : Trying to build via bitrise
hodayaGruzm commentedon Jan 7, 2024
me toooo,
codebycarlos commentedon Jan 7, 2024
Same 🙃
compwron commentedon Jan 7, 2024
same
rieger-jared commentedon Jan 7, 2024
Same here.
minkgkyaw9899 commentedon Jan 8, 2024
Same 🥺
3 remaining items
thtRajasthaniGuy commentedon Jan 8, 2024
same here..... using react-native version 0.70.6
doyunnn commentedon Jan 8, 2024
Same here.
dsumayan21 commentedon Jan 8, 2024
same here. react native v 0.69.9
shifanpark commentedon Jan 8, 2024
Same here. react native version 0.72.6
doanhtrinh95 commentedon Jan 8, 2024
Same here. react native version 0.73.1, can reopen issuse ???
mattijsf commentedon Jan 8, 2024
I don't see react-native's CI tests failing but I think that's mainly because the workflows save/restore cocoapod cache so they don't fetch boost from the original source basically
pietro-marrone-dka commentedon Jan 8, 2024
Same here
matteodanelli commentedon Jan 8, 2024
Happens again from yesterday.
loreleensablot commentedon Jan 8, 2024
Happening it again, just now
vishal-nayak07 commentedon Jan 8, 2024
Facing the same issue again
ts-ign0re commentedon Jan 8, 2024
Guys!
DO NOT REPLACE HASHSUM
Replace this url
https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2
with
https://sourceforge.net/projects/boost/files/boost/1.76.0/boost_1_76_0.tar.bz2
Johan-dutoit commentedon Jan 8, 2024
Here is a PR with the fix #42118, the RN team are on it already.
More info- #42109 (comment)
LukaBabunadze commentedon Jan 8, 2024
Thanks!
cipolleschi commentedon Jan 8, 2024
We have an official workaround and a pinned issue: #42180.
I'm locking this conversation.