@@ -5,35 +5,7 @@ require Pod::Executable.execute_command('node', ['-p',
55 {paths: [process.argv[1]]},
66 )' , __dir__ ] ) . strip
77
8- # Fix boost download issue by using SourceForge mirror instead of JFrog
9- # https://github.com/facebook/react-native/issues/37748
10- boost_path = File . join ( __dir__ , '../node_modules/react-native/third-party-podspecs/boost.podspec' )
11- if File . exist? ( boost_path )
12- boost_spec = File . read ( boost_path )
13-
14- # Replace JFrog URL with SourceForge mirror
15- if boost_spec . include? ( 'boostorg.jfrog.io' )
16- boost_spec = boost_spec . gsub (
17- 'https://boostorg.jfrog.io/artifactory/main/release/1.76.0/source/boost_1_76_0.tar.bz2' ,
18- 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2'
19- )
20- File . write ( boost_path , boost_spec )
21- puts '✅ Patched boost podspec to use archives.boost.io mirror'
22- end
23-
24- # Remove checksum as backup measure
25- boost_spec = File . read ( boost_path )
26- if boost_spec . include? ( ':sha256' )
27- boost_spec = boost_spec . gsub (
28- /,\s *:sha256\s *=>\s *['"][^'"]*['"]/ ,
29- ''
30- )
31- File . write ( boost_path , boost_spec )
32- puts '✅ Removed boost checksum verification'
33- end
34- end
35-
36- platform :ios , '13.0'
8+ platform :ios , min_ios_version_supported
379prepare_react_native_project!
3810
3911# If you are using a `react-native-flipper` your iOS build will fail when `NO_FLIPPER=1` is set.
@@ -86,12 +58,5 @@ target 'exmpl' do
8658 :mac_catalyst_enabled => false
8759 )
8860 __apply_Xcode_12_5_M1_post_install_workaround ( installer )
89-
90- # Fix iOS deployment target to 13.0 (required by react-native-ldk)
91- installer . pods_project . targets . each do |target |
92- target . build_configurations . each do |config |
93- config . build_settings [ 'IPHONEOS_DEPLOYMENT_TARGET' ] = '13.0'
94- end
95- end
9661 end
9762end
0 commit comments