-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
US1782181: patch Boost pod.spec while issue is being fixed
- See Boost issue - boostorg/boost#843 - See temporary workaround proposed by Facebook - facebook/react-native#42180
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,6 +79,11 @@ workflows: | |
inputs: | ||
- command: ls | ||
- workdir: $BITRISE_SOURCE_DIR/demo-app/ | ||
- [email protected]: | ||
title: "Patch Boost podspec" | ||
inputs: | ||
- working_dir: $BITRISE_SOURCE_DIR/demo-app/ | ||
- content: ./scripts/ci/patch-boost-podspec.sh | ||
- cocoapods-install@2: | ||
title: "Install pods for iOS Bridge SDK" | ||
inputs: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
# This script is used to patch an issue during the installation of the Boost pod dependency | ||
# See Boost issue - https://github.com/boostorg/boost/issues/843 | ||
# Temporary workaround proposed by Facebook - https://github.com/facebook/react-native/issues/42180 | ||
|
||
# replacing https://boostorg.jfrog.io/artifactory/main by https://archives.boost.io | ||
# and creating temp file | ||
cat ./node_modules/react-native/third-party-podspecs/boost.podspec | sed s/boostorg.jfrog.io\\/artifactory\\/main/archives.boost.io/ > node_modules/react-native/third-party-podspecs/temp | ||
|
||
# overwrite boost.podspec file | ||
mv node_modules/react-native/third-party-podspecs/temp node_modules/react-native/third-party-podspecs/boost.podspec |