Skip to content

Commit

Permalink
Merge branch 'master' into add_stale_action
Browse files Browse the repository at this point in the history
  • Loading branch information
MasoudFallahpourbaee committed Feb 10, 2025
2 parents 1ccbaf4 + 14982a4 commit d54c9f2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/native_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- name: Install Lib cocoapods
run: |
(cd ios;pod install)
(cd ios;pod repo update;pod install --verbose)
- name: Run Unit Tests for iOS
run: yarn test:ios
18 changes: 18 additions & 0 deletions 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

# Uncomment the next line to define a global platform for your project
platform :ios, '16.0'

Expand Down

0 comments on commit d54c9f2

Please sign in to comment.