From de183b5bd8a678a7de9ef1013a9ffc3bea14eb61 Mon Sep 17 00:00:00 2001 From: Yaroslav Serhieiev Date: Mon, 24 Sep 2018 20:23:58 +0300 Subject: [PATCH] hotfix: legacy build workaround to fix monorepo build on XCode 10 --- detox/test/package.json | 4 ++-- examples/demo-native-ios/package.json | 4 ++-- examples/demo-react-native-jest/package.json | 4 ++-- examples/demo-react-native/package.json | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/detox/test/package.json b/detox/test/package.json index dfe4e4afeb..bea15388ab 100644 --- a/detox/test/package.json +++ b/detox/test/package.json @@ -35,13 +35,13 @@ "configurations": { "ios.sim.debug": { "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/example.app", - "build": "set -o pipefail && xcodebuild -project ios/example.xcodeproj -scheme example_ci -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build | xcpretty", + "build": "set -o pipefail && xcodebuild -project ios/example.xcodeproj -UseNewBuildSystem=NO -scheme example_ci -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build | xcpretty", "type": "ios.simulator", "name": "iPhone X" }, "ios.sim.release": { "binaryPath": "ios/build/Build/Products/Release-iphonesimulator/example.app", - "build": "set -o pipefail && export CODE_SIGNING_REQUIRED=NO && export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/example.xcodeproj -scheme example_ci -configuration Release -sdk iphonesimulator -derivedDataPath ios/build | xcpretty", + "build": "set -o pipefail && export CODE_SIGNING_REQUIRED=NO && export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/example.xcodeproj -UseNewBuildSystem=NO -scheme example_ci -configuration Release -sdk iphonesimulator -derivedDataPath ios/build | xcpretty", "type": "ios.simulator", "name": "iPhone X" }, diff --git a/examples/demo-native-ios/package.json b/examples/demo-native-ios/package.json index faf9d5a3ad..2c16bf49dc 100644 --- a/examples/demo-native-ios/package.json +++ b/examples/demo-native-ios/package.json @@ -11,13 +11,13 @@ "configurations": { "ios.sim.release": { "binaryPath": "build/Build/Products/Release-iphonesimulator/NativeExample.app", - "build": "xcodebuild -project NativeExample.xcodeproj -scheme NativeExample -configuration Release -sdk iphonesimulator -derivedDataPath build", + "build": "xcodebuild -project NativeExample.xcodeproj -UseNewBuildSystem=NO -scheme NativeExample -configuration Release -sdk iphonesimulator -derivedDataPath build", "type": "ios.simulator", "name": "iPhone 7 Plus" }, "ios.sim.debug": { "binaryPath": "build/Build/Products/Debug-iphonesimulator/NativeExample.app", - "build": "xcodebuild -project NativeExample.xcodeproj -scheme NativeExample -configuration Debug -sdk iphonesimulator -derivedDataPath build", + "build": "xcodebuild -project NativeExample.xcodeproj -UseNewBuildSystem=NO -scheme NativeExample -configuration Debug -sdk iphonesimulator -derivedDataPath build", "type": "ios.simulator", "name": "iPhone 7 Plus" } diff --git a/examples/demo-react-native-jest/package.json b/examples/demo-react-native-jest/package.json index 9fff0ed918..30cb029a19 100644 --- a/examples/demo-react-native-jest/package.json +++ b/examples/demo-react-native-jest/package.json @@ -24,13 +24,13 @@ "configurations": { "ios.sim.release": { "binaryPath": "ios/build/Build/Products/Release-iphonesimulator/DemoReactNativeJest.app", - "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/DemoReactNativeJest.xcodeproj -scheme DemoReactNativeJest -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet", + "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/DemoReactNativeJest.xcodeproj -UseNewBuildSystem=NO -scheme DemoReactNativeJest -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet", "type": "ios.simulator", "name": "iPhone 7 Plus" }, "ios.sim.debug": { "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/DemoReactNativeJest.app", - "build": "xcodebuild -project ios/DemoReactNativeJest.xcodeproj -scheme DemoReactNativeJest -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build", + "build": "xcodebuild -project ios/DemoReactNativeJest.xcodeproj -UseNewBuildSystem=NO -scheme DemoReactNativeJest -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build", "type": "ios.simulator", "name": "iPhone 7 Plus" }, diff --git a/examples/demo-react-native/package.json b/examples/demo-react-native/package.json index 6b69667729..4cdac6e08d 100644 --- a/examples/demo-react-native/package.json +++ b/examples/demo-react-native/package.json @@ -20,13 +20,13 @@ "configurations": { "ios.sim.release": { "binaryPath": "ios/build/Build/Products/Release-iphonesimulator/example.app", - "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/example.xcodeproj -scheme example -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet", + "build": "export RCT_NO_LAUNCH_PACKAGER=true && xcodebuild -project ios/example.xcodeproj -UseNewBuildSystem=NO -scheme example -configuration Release -sdk iphonesimulator -derivedDataPath ios/build -quiet", "type": "ios.simulator", "name": "iPhone 7 Plus" }, "ios.sim.debug": { "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/example.app", - "build": "xcodebuild -project ios/example.xcodeproj -scheme example -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build", + "build": "xcodebuild -project ios/example.xcodeproj -UseNewBuildSystem=NO -scheme example -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build", "type": "ios.simulator", "name": "iPhone 7 Plus" },