Cant build "eas build ios"

Managed app.

During the build on “Run expo doctor” section i got

Running "expo doctor"

2

- Validating global prerequisites versions...

3

✔ Validating global prerequisites versions passed

4

- Checking for incompatible packages...

5

✖ Checking for incompatible packages failed

6[stderr]

Error: Dependency tree validation for @unimodules/react-native-adapter failed. This validation is only available on Node 16+ / npm 8.

7

- Checking for conflicting global packages in project...

8

✖ Checking for conflicting global packages in project failed

9[stderr]

Error: Dependency tree validation for expo-cli failed. This validation is only available on Node 16+ / npm 8.

10

- Verifying prebuild support package versions are compatible...

11

✖ Verifying prebuild support package versions are compatible failed

12

- Checking dependency versions for compatibility with the installed Expo SDK...

13[stderr]

Error: Dependency tree validation for expo-modules-autolinking failed. This validation is only available on Node 16+ / npm 8.

14

✔ Checking dependency versions for compatibility with the installed Expo SDK passed

15

- Validating Expo Config...

16

✔ Validating Expo Config passed

17

- Checking package.json for common issues...

18

✖ Checking package.json for common issues failed

19

Issues:

20[stderr]

The package "expo-modules-core" should not be installed directly in your project. It is a dependency of other Expo packages and should be installed automatically.

21[stderr]

✖ Found one or more possible issues with the project. See above logs for issues and advice to resolve.

22


23

Command "expo doctor" failed.

npx exited with non-zero code: 1

And on “Prebuild” section i got

yarn run v1.22.17

2

$ /Users/expo/workingdir/build/node_modules/.bin/expo prebuild --no-install --platform ios

3

- Creating native project directories (./ios and ./android) and updating .gitignore

4

✔ Created native project | gitignore skipped

5

- Adding Metro bundler config

6

- Updating your package.json scripts, dependencies, and main file

7

✔ Updated package.json and added index.js entry point for iOS and Android

8

› Removed "main": "node_modules/expo/AppEntry.js" from package.json because we recommend using index.js as main instead

9


10

- Config syncing

11[stderr]

Using node to generate images. This is much slower than using native packages.

12[stderr]

› Optionally you can stop the process and try again after successfully running `npm install -g sharp-cli`.

13

- Config syncing

14

✖ Config sync failed

15[stderr]

UnexpectedError: [ios.dangerous]: withIosDangerousBaseMod: Could not locate a valid AppDelegate at root: "/Users/expo/workingdir/build"

16[stderr]

Please report this as an issue on https://github.com/expo/expo-cli/issues

17[stderr]

UnexpectedError: [ios.dangerous]: withIosDangerousBaseMod: Could not locate a valid AppDelegate at root: "/Users/expo/workingdir/build"

18[stderr]

Please report this as an issue on https://github.com/expo/expo-cli/issues

19[stderr]

    at getAppDelegateFilePath (/Users/expo/workingdir/build/node_modules/expo-splash-screen/node_modules/@expo/config-plugins/build/ios/Paths.js:113:11)

20[stderr]

    at getAppDelegate (/Users/expo/workingdir/build/node_modules/expo-splash-screen/node_modules/@expo/config-plugins/build/ios/Paths.js:178:20)

21[stderr]

    at Object.getSourceRoot (/Users/expo/workingdir/build/node_modules/expo-splash-screen/node_modules/@expo/config-plugins/build/ios/Paths.js:183:23)

22[stderr]

    at /Users/expo/workingdir/build/node_modules/expo-splash-screen/node_modules/@expo/prebuild-config/build/plugins/unversioned/expo-splash-screen/withIosSplashAssets.js:103:66

23[stderr]

    at action (/Users/expo/workingdir/build/node_modules/expo-splash-screen/node_modules/@expo/config-plugins/build/plugins/withMod.js:235:29)

24[stderr]

    at interceptingMod (/Users/expo/workingdir/build/node_modules/expo-splash-screen/node_modules/@expo/config-plugins/build/plugins/withMod.js:126:27)

25[stderr]

    at action (/Users/expo/workingdir/build/node_modules/@expo/config-plugins/build/plugins/withMod.js:206:14)

26[stderr]

    at async interceptingMod (/Users/expo/workingdir/build/node_modules/@expo/config-plugins/build/plugins/withMod.js:105:21)

27[stderr]

    at async interceptingMod (/Users/expo/workingdir/build/node_modules/@expo/config-plugins/build/plugins/withMod.js:105:21)

28[stderr]

    at async action (/Users/expo/workingdir/build/node_modules/@expo/config-plugins/build/plugins/createBaseMod.js:61:21)

29[stderr]

error Command failed with exit code 1.

30

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

31yarn exited with non-zero code: 1


At the same time, android app build sucessfully

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.