Skip to content

Commit c8aa039

Browse files
abdelhamid-f-nasserHeshamMegid
authored andcommitted
chore: fix react native boost install via patch (#1087)
Jira ID: MOB-13588
1 parent 8869b40 commit c8aa039

File tree

4 files changed

+228
-5
lines changed

4 files changed

+228
-5
lines changed

examples/default/ios/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ PODS:
7575
- hermes-engine/Pre-built (0.72.3)
7676
- Instabug (12.4.0)
7777
- libevent (2.1.12)
78-
- OCMock (3.9.1)
78+
- OCMock (3.9.3)
7979
- OpenSSL-Universal (1.1.1100)
8080
- RCT-Folly (2021.07.22.00):
8181
- boost
@@ -729,7 +729,7 @@ EXTERNAL SOURCES:
729729
:path: "../node_modules/react-native/ReactCommon/yoga"
730730

731731
SPEC CHECKSUMS:
732-
boost: 57d2868c099736d80fcd648bf211b4431e51a558
732+
boost: 7dcd2de282d72e344012f7d6564d024930a6a440
733733
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
734734
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
735735
FBLazyVector: 4cce221dd782d3ff7c4172167bba09d58af67ccb
@@ -747,7 +747,7 @@ SPEC CHECKSUMS:
747747
hermes-engine: 10fbd3f62405c41ea07e71973ea61e1878d07322
748748
Instabug: 83bde9d7d4b582ea8f14935f79f1ce39af55e149
749749
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
750-
OCMock: 9491e4bec59e0b267d52a9184ff5605995e74be8
750+
OCMock: 300b1b1b9155cb6378660b981c2557448830bdc6
751751
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
752752
RCT-Folly: 424b8c9a7a0b9ab2886ffe9c3b041ef628fd4fb1
753753
RCTRequired: a2faf4bad4e438ca37b2040cb8f7799baa065c18

examples/default/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"android": "react-native run-android",
77
"ios": "react-native run-ios",
88
"start": "react-native start",
9-
"lint": "eslint ."
9+
"lint": "eslint .",
10+
"postinstall": "patch-package"
1011
},
1112
"dependencies": {
1213
"@react-native-community/slider": "^4.4.3",
@@ -37,6 +38,7 @@
3738
"detox": "^20.9.0",
3839
"jest": "^29.2.1",
3940
"metro-react-native-babel-preset": "0.77.0",
41+
"patch-package": "^8.0.0",
4042
"react-test-renderer": "18.2.0",
4143
"ts-jest": "^29.1.0",
4244
"typescript": "5.1.6"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/node_modules/react-native/third-party-podspecs/boost.podspec b/node_modules/react-native/third-party-podspecs/boost.podspec
2+
index 3d9331c..bbbb738 100644
3+
--- a/node_modules/react-native/third-party-podspecs/boost.podspec
4+
+++ b/node_modules/react-native/third-party-podspecs/boost.podspec
5+
@@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
6+
spec.homepage = 'http://www.boost.org'
7+
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
8+
spec.authors = 'Rene Rivera'
9+
- spec.source = { :http => 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2',
10+
+ spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2',
11+
:sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }
12+
13+
# Pinning to the same version as React.podspec.

0 commit comments

Comments
 (0)