Ver código fonte

Xcode10 (#4795)

* Add -UseModernBuildSystem=NO for xcodebuild

* Add -UseModernBuildSystem to detox build
Shalom Yerushalmy 5 anos atrás
pai
commit
e50906d887
2 arquivos alterados com 3 adições e 2 exclusões
  1. 2
    2
      package.json
  2. 1
    0
      scripts/test-unit.js

+ 2
- 2
package.json Ver arquivo

@@ -133,13 +133,13 @@
133 133
       },
134 134
       "ios.sim.debug": {
135 135
         "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Debug-iphonesimulator/playground.app",
136
-        "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground -project playground/ios/playground.xcodeproj -sdk iphonesimulator -configuration Debug -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet",
136
+        "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground -project playground/ios/playground.xcodeproj -sdk iphonesimulator -configuration Debug -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO",
137 137
         "type": "ios.simulator",
138 138
         "name": "iPhone X"
139 139
       },
140 140
       "ios.sim.release": {
141 141
         "binaryPath": "playground/ios/DerivedData/playground/Build/Products/Release-iphonesimulator/playground.app",
142
-        "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground_release -project playground/ios/playground.xcodeproj -sdk iphonesimulator -configuration Release -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet",
142
+        "build": "RCT_NO_LAUNCH_PACKAGER=true xcodebuild build -scheme playground_release -project playground/ios/playground.xcodeproj -sdk iphonesimulator -configuration Release -derivedDataPath playground/ios/DerivedData/playground ONLY_ACTIVE_ARCH=YES -quiet -UseModernBuildSystem=NO",
143 143
         "type": "ios.simulator",
144 144
         "name": "iPhone X"
145 145
       },

+ 1
- 0
scripts/test-unit.js Ver arquivo

@@ -30,6 +30,7 @@ function runIosUnitTests() {
30 30
             -configuration ${conf}
31 31
             -derivedDataPath ./DerivedData/playground
32 32
             -quiet
33
+            -UseModernBuildSystem=NO
33 34
             ONLY_ACTIVE_ARCH=YES`);
34 35
 
35 36
   exec.execSync(`cd ./playground/ios &&