Remove RN patch

This commit is contained in:
Pedro Pombeiro 2019-07-04 17:40:08 +02:00
parent 48c7f928cd
commit 977f1cd936
No known key found for this signature in database
GPG Key ID: C4A24185B2AA48A1
2 changed files with 0 additions and 16 deletions

View File

@ -1,12 +0,0 @@
diff --git a/node_modules/react-native/local-cli/runIOS/runIOS.js b/node_modules/react-native/local-cli/runIOS/runIOS.js
index dfabb92b8..5b2714729 100644
--- a/node_modules/react-native/local-cli/runIOS/runIOS.js
+++ b/node_modules/react-native/local-cli/runIOS/runIOS.js
@@ -283,6 +283,7 @@ function buildProject(
configuration,
'-scheme',
scheme,
+ '-UseModernBuildSystem=NO',
'-destination',
`id=${udid}`,
'-derivedDataPath',

View File

@ -79,10 +79,6 @@ case $1 in
mv "$RCTSTATUS_DIR/$sourceBasename" "$RCTSTATUS_DIR/$targetBasename" mv "$RCTSTATUS_DIR/$sourceBasename" "$RCTSTATUS_DIR/$targetBasename"
fi fi
if [ "$(uname)" == 'Darwin' ]; then if [ "$(uname)" == 'Darwin' ]; then
# TODO: remove this patch when we upgrade to a RN version that plays well with the modern build system
git apply --check $GIT_ROOT/ios/patches/ios-legacy-build-system.patch 2> /dev/null && \
git apply $GIT_ROOT/ios/patches/ios-legacy-build-system.patch || \
echo "Patch already applied"
# CocoaPods are trash and can't handle other pod instances running at the same time # CocoaPods are trash and can't handle other pod instances running at the same time
$GIT_ROOT/scripts/wait-for.sh pod 240 $GIT_ROOT/scripts/wait-for.sh pod 240
pushd $GIT_ROOT/ios && pod install; popd pushd $GIT_ROOT/ios && pod install; popd