[ios.dangerous]: withIosDangerousBaseMod: Could not locate a valid AppDelegate at root

Running
eas build --local -p=ios --profile simulator

  • Managed
    eas-cli/0.52.0 darwin-arm64 node-v16.15.0
[PREBUILD] - Config syncing
[PREBUILD] (node:33001) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /private/var/folders/z6/6s9g6tys7h50kcjdl_6200rw0000gn/T/eas-build-local-nodejs/d1d95297-8e89-4d84-8139-3f1f4ced68b1/build/node_modules/tslib/package.json.
[PREBUILD] Update this package.json to use a subpath pattern like "./*".
[PREBUILD] (Use `node --trace-deprecation ...` to show where the warning was created)
[PREBUILD] (node:33001) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /private/var/folders/z6/6s9g6tys7h50kcjdl_6200rw0000gn/T/eas-build-local-nodejs/d1d95297-8e89-4d84-8139-3f1f4ced68b1/build/node_modules/yaml/package.json.
[PREBUILD] Update this package.json to use a subpath pattern like "./*".
[PREBUILD] - Config syncing
[PREBUILD] - Config syncing
[PREBUILD] Using node to generate images. This is much slower than using native packages.
[PREBUILD] › Optionally you can stop the process and try again after successfully running `npm install -g sharp-cli`.
[PREBUILD] - Config syncing
[PREBUILD] Using node to generate images. This is much slower than using native packages.
[PREBUILD] › Optionally you can stop the process and try again after successfully running `npm install -g sharp-cli`.
[PREBUILD] - Config syncing
[PREBUILD] ✖ Config sync failed
[PREBUILD] [13:37:32] [ios.xcodeproj]: withIosXcodeprojBaseMod: Could not locate a valid AppDelegate at root: "/private/var/folders/z6/6s9g6tys7h50kcjdl_6200rw0000gn/T/eas-build-local-nodejs/d1d95297-8e89-4d84-8139-3f1f4ced68b1/build/apps/seed"
[PREBUILD] Please report this as an issue on https://github.com/expo/expo-cli/issues
[PREBUILD] [13:37:32] UnexpectedError: [ios.xcodeproj]: withIosXcodeprojBaseMod: Could not locate a valid AppDelegate at root: "/private/var/folders/z6/6s9g6tys7h50kcjdl_6200rw0000gn/T/eas-build-local-nodejs/d1d95297-8e89-4d84-8139-3f1f4ced68b1/build/apps/seed"
[PREBUILD] Please report this as an issue on https://github.com/expo/expo-cli/issues
[PREBUILD]     at getAppDelegateFilePath (/private/var/folders/z6/6s9g6tys7h50kcjdl_6200rw0000gn/T/eas-build-local-nodejs/d1d95297-8e89-4d84-8139-3f1f4ced68b1/build/node_modules/@expo/config-plugins/src/ios/Paths.ts:52:11)
[PREBUILD]     at getAppDelegate (/private/var/folders/z6/6s9g6tys7h50kcjdl_6200rw0000gn/T/eas-build-local-nodejs/d1d95297-8e89-4d84-8139-3f1f4ced68b1/build/node_modules/@expo/config-plugins/src/ios/Paths.ts:114:20)
[PREBUILD]     at Object.getSourceRoot (/private/var/folders/z6/6s9g6tys7h50kcjdl_6200rw0000gn/T/eas-build-local-nodejs/d1d95297-8e89-4d84-8139-3f1f4ced68b1/build/node_modules/@expo/config-plugins/src/ios/Paths.ts:119:23)
[PREBUILD]     at setNotificationSounds (/private/var/folders/z6/6s9g6tys7h50kcjdl_6200rw0000gn/T/eas-build-local-nodejs/d1d95297-8e89-4d84-8139-3f1f4ced68b1/build/node_modules/expo-notifications/plugin/build/withNotificationsIOS.js:39:57)
[PREBUILD]     at /private/var/folders/z6/6s9g6tys7h50kcjdl_6200rw0000gn/T/eas-build-local-nodejs/d1d95297-8e89-4d84-8139-3f1f4ced68b1/build/node_modules/expo-notifications/plugin/build/withNotificationsIOS.js:19:9
[PREBUILD]     at action (/private/var/folders/z6/6s9g6tys7h50kcjdl_6200rw0000gn/T/eas-build-local-nodejs/d1d95297-8e89-4d84-8139-3f1f4ced68b1/build/node_modules/@expo/config-plugins/src/plugins/withMod.ts:227:29)
[PREBUILD]     at interceptingMod (/private/var/folders/z6/6s9g6tys7h50kcjdl_6200rw0000gn/T/eas-build-local-nodejs/d1d95297-8e89-4d84-8139-3f1f4ced68b1/build/node_modules/@expo/config-plugins/src/plugins/withMod.ts:108:27)
[PREBUILD]     at action (/private/var/folders/z6/6s9g6tys7h50kcjdl_6200rw0000gn/T/eas-build-local-nodejs/d1d95297-8e89-4d84-8139-3f1f4ced68b1/build/node_modules/@expo/prebuild-config/node_modules/@expo/config-plugins/src/plugins/withMod.ts:228:14)
[PREBUILD]     at interceptingMod (/private/var/folders/z6/6s9g6tys7h50kcjdl_6200rw0000gn/T/eas-build-local-nodejs/d1d95297-8e89-4d84-8139-3f1f4ced68b1/build/node_modules/@expo/prebuild-config/node_modules/@expo/config-plugins/src/plugins/withMod.ts:108:21)
[PREBUILD]     at interceptingMod (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/config-plugins/src/plugins/withMod.ts:108:21)
[PREBUILD]     at interceptingMod (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/config-plugins/src/plugins/withMod.ts:108:21)
[PREBUILD]     at interceptingMod (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/config-plugins/src/plugins/withMod.ts:108:21)
[PREBUILD]     at interceptingMod (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/config-plugins/src/plugins/withMod.ts:108:21)
[PREBUILD]     at interceptingMod (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/config-plugins/src/plugins/withMod.ts:108:21)
[PREBUILD]     at interceptingMod (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/config-plugins/src/plugins/withMod.ts:108:21)
[PREBUILD]     at interceptingMod (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/config-plugins/src/plugins/withMod.ts:108:21)
[PREBUILD] 
Error: bash exited with non-zero code: 1
    at ChildProcess.completionListener (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/spawn-async/build/spawnAsync.js:43:23)
    at Object.onceWrapper (node:events:642:26)
    at ChildProcess.emit (node:events:527:28)
    at maybeClose (node:internal/child_process:1092:16)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
    ...
    at spawnAsync (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/spawn-async/build/spawnAsync.js:8:21)
    at spawn (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/turtle-spawn/dist/index.js:17:47)
    at BuildContext.runExpoCliCommandAsync [as runExpoCliCommand] (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/eas-cli-local-build-plugin/dist/expoCli.js:14:39)
    at prebuildAsync (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/build-tools/dist/utils/prebuild.js:14:15)
    at /Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/build-tools/dist/builders/ios.js:33:52
    at BuildContext.runBuildPhase (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/build-tools/dist/context.js:48:34)
    at Object.iosBuilder (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/@expo/build-tools/dist/builders/ios.js:29:23)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async buildIosAsync (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/eas-cli-local-build-plugin/dist/ios.js:49:27)
    at async buildAsync (/Users/jonatthu/.npm/_npx/4303fabdaa4f873a/node_modules/eas-cli-local-build-plugin/dist/build.js:28:32)

Build failed
bash exited with non-zero code: 1

Hey @itrustcapital, there’s currently a Github Issue for this build error. We haven’t yet gotten to triaging it but we’ll focus our attention there so please follow along on github.

Cheers,
Adam