Skip to content
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
18 changes: 18 additions & 0 deletions example/ios/Podfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,21 @@
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

# Let the magic happen!
find_and_replace_boost_url

require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'

Expand Down
6 changes: 3 additions & 3 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon/yoga"

SPEC CHECKSUMS:
boost: a7c83b31436843459a1961bfd74b96033dc77234
boost: 9fa78656d705f55b1220151d997e57e2a3f2cde0
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: d3c1d2923b1009f4e709e8f1b793dedf5b323454
Expand Down Expand Up @@ -578,6 +578,6 @@ SPEC CHECKSUMS:
Yoga: 7a4d48cfb35dfa542151e615fa73c1a0d88caf21
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: 70b9b7bc136bd1e96c211d73925330e3ad6a3afe
PODFILE CHECKSUM: b3dac7474c7793e74208826c9a2b1544937fe359

COCOAPODS: 1.15.2
COCOAPODS: 1.16.2
Loading