Hi guys, I’ve just got an error during my first eas build for ios on the local machine.
Besides the bunch of errors during the npm install and expo doctor,
npm
[INSTALL_DEPENDENCIES] WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
[INSTALL_DEPENDENCIES] npm
[INSTALL_DEPENDENCIES] WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated
[INSTALL_DEPENDENCIES] npm
[INSTALL_DEPENDENCIES] WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
[INSTALL_DEPENDENCIES] npm
[INSTALL_DEPENDENCIES] WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
[INSTALL_DEPENDENCIES] npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated
[INSTALL_DEPENDENCIES] npm
[INSTALL_DEPENDENCIES] WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin.
[INSTALL_DEPENDENCIES] npm
[INSTALL_DEPENDENCIES] WARN deprecated sane@4.1.0: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
[INSTALL_DEPENDENCIES] npm
[INSTALL_DEPENDENCIES] WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
[INSTALL_DEPENDENCIES] npm WARN deprecated @react-native-community/masked-view@0.1.11: Repository was moved to @react-native-masked-view/masked-view
[INSTALL_DEPENDENCIES] npm
[INSTALL_DEPENDENCIES] WARN deprecated uglify-es@3.3.9: support for ECMAScript is superseded by `uglify-js` as of v3.13.0
[INSTALL_DEPENDENCIES] npm WARN deprecated core-js@1.2.7: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
and
RUN_EXPO_DOCTOR] [12:56:40] Some dependencies are incompatible with the installed expo package version:
[RUN_EXPO_DOCTOR] [12:56:40] - expo-blur - expected version: ~11.1.0 - actual version installed: 11.2.0
[RUN_EXPO_DOCTOR] [12:56:40] - react-native-safe-area-context - expected version: 4.2.4 - actual version installed: 4.4.1
[RUN_EXPO_DOCTOR] [12:56:40] Your project may not work correctly until you install the correct versions of the packages.
[RUN_EXPO_DOCTOR] To install the correct versions of these packages, please run: expo doctor --fix-dependencies,
[RUN_EXPO_DOCTOR] or install individual packages by running expo install [package-name ...]
[RUN_EXPO_DOCTOR] Command "expo doctor" failed.
Error: bash exited with non-zero code: 1
at ChildProcess.completionListener (/Users/vahidafshari/.npm/_npx/86c1f166462562ca/node_modules/@expo/spawn-async/build/spawnAsync.js:41: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)
...```
I have finally got Ruby crash on the process.
[INSTALL_PODS] /Library/Ruby/Gems/2.6.0/gems/ffi-1.15.5/lib/ffi/library.rb:275: [BUG] Bus Error at 0x000000010070c000
[INSTALL_PODS] ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin22]
[INSTALL_PODS] -- Crash Report log information --------------------------------------------
[INSTALL_PODS] See Crash Report log file under the one of following:
[INSTALL_PODS] * ~/Library/Logs/DiagnosticReports
[INSTALL_PODS] * /Library/Logs/DiagnosticReports
[INSTALL_PODS] for more details.
[INSTALL_PODS] Don't forget to include the above Crash Report log file in bug reports.
[INSTALL_PODS] -- Control frame information -----------------------------------------------
[INSTALL_PODS] c:0049 p:---- s:0307 e:000306 CFUNC
[INSTALL_PODS] :attach
I have installed fastlane, configured eas.json and anything else just like the instruction said, but still got failed