Skip to content

iOS EAS Builds Failing #43

Description

@gesturetaj

Describe what happened
When trying to build iOS builds and upload source maps to datadog the build is failing with the following error:

Error: ENOENT: no such file or directory, open '/Users/expo/Library/Developer/Xcode/DerivedData/Gesture-ghljcuewhjibzvbuvxyeprffhxiu/Build/Intermediates.noindex/ArchiveIntermediates/Gesture/BuildProductsPath/Release-iphoneos/main.jsbundle.map'
    at Object.openSync (node:fs:603:3)
    at Object.readFileSync (node:fs:471:35)
    at Object.<anonymous> (/Users/expo/workingdir/build/node_modules/react-native/scripts/compose-source-maps.js:34:8)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
    at node:internal/main/run_main_module:23:47 {
  errno: -2,
  syscall: 'open',
  code: 'ENOENT',
  path: '/Users/expo/Library/Developer/Xcode/DerivedData/Gesture-ghljcuewhjibzvbuvxyeprffhxiu/Build/Intermediates.noindex/ArchiveIntermediates/Gesture/BuildProductsPath/Release-iphoneos/main.jsbundle.map'
}

Node.js v18.18.0
Error running bundle script from datadog-ci xcode.
Error: error null while running datadog-ci xcode.Command PhaseScriptExecution failed with a nonzero exit code

Steps to reproduce the issue:

  • Install Datadog SDK and Expo Datadog config plugin
  • Build iOS on Expo EAS

Describe what you expected:
Build should succeed and source maps upload to Datadog

Additional context

  • React Native: 0.74.3
  • Expo SDK: 51.0.0
  • expo-datadog: 51.0.1
  • @datadog/mobile-react-native: 2.4.1
  • @datadog/datadog-ci: 2.39.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions