Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply fix to download boost #1824

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
# Apply fix found here
# https://github.com/boostorg/boost/issues/996#issuecomment-2574671532
def find_and_replace_boost_url
pod_spec = "../node_modules/react-native/third-party-podspecs/boost.podspec"
puts "Debug: Starting boost URL replacement"
if File.exist?(pod_spec)
puts "Debug: Found boost.podspec"
spec_content = File.read(pod_spec)
spec_content.gsub!(
'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2',
'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2'
)
File.write(pod_spec, spec_content)
puts "Debug: Updated boost.podspec"
end
end

find_and_replace_boost_url

platform :ios, '13.0'

install! 'cocoapods', deterministic_uuids: false
Expand Down
4 changes: 2 additions & 2 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -475,7 +475,7 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
boost: a7c83b31436843459a1961bfd74b96033dc77234
boost: 9fa78656d705f55b1220151d997e57e2a3f2cde0
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: 6fab494fa11340bd4206edaebed07279a6bafad4
FBReactNativeSpec: 76d7b03876b0ad0b86bc5c84d23af8e64db8e096
Expand Down Expand Up @@ -522,6 +522,6 @@ SPEC CHECKSUMS:
StripeUICore: b59aa9c9e202b6a03a556c3519eff578274f7598
Yoga: 8a90b50af67eaa9fe94fd03e550bfeab06096873

PODFILE CHECKSUM: 7b4a5e954edfeed0967520f79be9e773f07d8266
PODFILE CHECKSUM: 9a06a540a1ac4748de4c69289cd64197943e34f7

COCOAPODS: 1.16.2
Loading