title: Detox build is failing by throwing YogaKit.modulemap' fatal error not found
body: <p><strong>Detox build is failing by throwing YogaKit.modulemap' fatal error not found</strong></p>
  
  <p><em>Xcode Version:- 11.3
  "react": "16.11.0",
  "react-native": "0.62.2"
  "detox": "13.3.0", tried latest 16 version as well</em></p>
  
  <p>But build got succeeded with the below configuration</p>
  
  <p>"dependencies": {
  "react": "^16.3.0-alpha.1",
  "react-native": "0.59.9"
  },
  "devDependencies": {
  "babel-jest": "22.4.1",
  "babel-preset-react-native": "4.0.0",
  "detox": "13.3.0",
  "jest": "22.4.2",
  "mocha": "^5.0.4",
  "react-test-renderer": "^16.3.0-alpha.1"</p>
  
  <p>** BUILD SUCCEEDED **</p>
  
  <p><strong>I think latest version of react-native is not compatible with the detox. I tried to get resolve for Yogakit, but ended with no luck.</strong></p>
  
  <p>Please let me know if anything is required. I would be thankful if someone shared the working config with the latest react-native.</p>
  
  <p>`fatal error: module map file ....../ios/build/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap'
        not found
  1 error generated.
  20 errors generated.
  fatal error: module map file '...../ios/build/Build/Products/Debug-iphonesimulator/YogaKit/YogaKit.modulemap'
        not found
  1 error generated.
  22 errors generated.</p>
  
  <p>** BUILD FAILED **</p>
  
  <p>The following build commands failed:
          CompileC /....../ios/build/Build/Intermediates.noindex/King.build/Debug-iphonesimulator/King.build/Objects-normal/x86_64/AppDelegate.o /....../ios/King/AppDelegate.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
  (1 failure)
  detox[29631] ERROR: [cli.js] Error: Command failed: xcodebuild -project ios/King.xcodeproj -scheme King -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build`</p>