EAS build failing iOS

I’ve been having issues building the iOS app with eas and the managed workflow. The build fails during the fastlane build phase.

Strangely, the android version of the app builds succesfully with eas, no problem.

The iOS version functions without issue in the simulator. Only the EAS build seems to fail.

Fastlane error output:

❌  error: File /Users/expo/Library/Developer/Xcode/DerivedData/Lehgu-dvthmbotvulohlhkecuuafkapqgu/Build/Intermediates.noindex/ArchiveIntermediates/Lehgu/BuildProductsPath/Release-iphoneos/Lehgu.app/main.jsbundle does not exist. This must be a bug with


❌ Metro encountered an error:
Unable to resolve module ./src/content/03_UmgangMitStress/02_WasHilftMirBeimUmgangMitStress/_07quizStressbewältigungUmgang.js from /Users/expo/workingdir/build/contentConfig.js:

None of these files exist:
  * src/content/03_UmgangMitStress/02_WasHilftMirBeimUmgangMitStress/_07quizStressbewältigungUmgang.js(.native|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.svg|.native.svg|.svg)
  * src/content/03_UmgangMitStress/02_WasHilftMirBeimUmgangMitStress/_07quizStressbewältigungUmgang.js/index(.native|.ios.ts|.native.ts|.ts|.ios.tsx|.native.tsx|.tsx|.ios.js|.native.js|.js|.ios.jsx|.native.jsx|.jsx|.ios.json|.native.json|.json|.ios.svg|.native.svg|.svg)
  92 | import testbegegnen from "./src/content/03_UmgangMitStress/02_WasHilftMirBeimUmgangMitStress/testbegegnen.js"
  93 | import _06stressbewaeltigungLehrkraftberuf from "./src/content/03_UmgangMitStress/02_WasHilftMirBeimUmgangMitStress/_06stressbewaeltigungLehrkraftberuf.js"
> 94 | import { _07quizStressbewältigungUmgang } from "./src/content/03_UmgangMitStress/02_WasHilftMirBeimUmgangMitStress/_07quizStressbewältigungUmgang.js"
     |                                                 ^
  95 |
  96 | import _00wieGelingtEsMir from "./src/content/03_UmgangMitStress/03_WieGelingtEsMirZurRuheZuKommen/_00wieGelingtEsMir.js"
  97 | import _01achtsamkeitKurzErklaert from "./src/content/03_UmgangMitStress/03_WieGelingtEsMirZurRuheZuKommen/_01achtsamkeitKurzErklaert.js"
› Generating debug Lehgu » Lehgu.app.dSYM
⚠️  No such file or directory: /var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/C/org.llvm.clang.distiller/ModuleCache/OEL3R4BB85DS/FBSDKLoginKit-ROJFAQUX0UXS.pcm
⚠️  No such file or directory: /var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/C/org.llvm.clang.distiller/ModuleCache/OEL3R4BB85DS/UIKit-7ENARD7F75QG.pcm
⚠️  No such file or directory: /var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/C/org.llvm.clang.distiller/ModuleCache/OEL3R4BB85DS/Foundation-3ESNQVWWD07IL.pcm
⚠️  No such file or directory: /var/folders/6y/gy9gggt14379c_k39vwb50lc0000gn/C/org.llvm.clang.distiller/ModuleCache/OEL3R4BB85DS/SwiftShims-3E5PYOC7W29IN.pcm
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ 	PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images /Users/expo/Library/Developer/Xcode/DerivedData/Lehgu-dvthmbotvulohlhkecuuafkapqgu/Build/Intermediates.noindex/ArchiveIntermediates/Lehgu/IntermediateBuildFilesPath/Lehgu.build/Release-iphoneos/Lehgu.build/Script-00DD1BFF1BD5951E006B06BC.sh
▸ (1 failure)
** ARCHIVE FAILED **

Metro Config

const {getDefaultConfig} = require('expo/metro-config');

module.exports = (async () => {
    const config = await getDefaultConfig(__dirname);

    const {transformer, resolver} = config;

    config.transformer = {
        ...transformer,
        babelTransformerPath: require.resolve('react-native-svg-transformer'),
    };
    config.resolver = {
        ...resolver,
        assetExts: resolver.assetExts.filter(ext => ext !== 'svg'),
        sourceExts: [...resolver.sourceExts, 'svg'],
    };

    return config;
})();

EAS-CLI Version
eas-cli/0.47.0 linux-x64 node-v17.3.0

What I have tried so far
Renaming the imported files. They are mdx files used to render text on various screens of the application.

I have also confirmed that the files exist at the given path. (Were this not the case, I would assume that the android build and simulator would not function as well. . .)