eas build --local fails but normal eas build works

Bare workflow

  • eas-cli/3.8.1 darwin-arm64 node-v16.15.0
  • XCode 14.2

Trying to build locally IOS app using eas build --local
Get error shown below.

I am not sure how to view the xcode logs


[RUN_FASTLANE] ▸ The following build commands failed:

[RUN_FASTLANE] ▸ PhaseScriptExecution [CP-User]\ Generate\ Specs /Users/developer/Library/Developer/Xcode/DerivedData/Parts-cnialwpytfcffyhesderlnygaxbf/Build/Intermediates.noindex/ArchiveIntermediates/Parts/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/FBReactNativeSpec.build/Script-46EB2E00011350.sh (in target ‘FBReactNativeSpec’ from project ‘Pods’)

[RUN_FASTLANE] ▸ (1 failure)

[RUN_FASTLANE] 2023-03-30 21:13:22.608 xcodebuild[46329:1336664] DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot2/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-21506/DTDeviceKitBase/DTDKRemoteDeviceData.m:382

[RUN_FASTLANE] Details: (null) deviceType from 00008030-000278400E38402E was NULL when -platform called.

[RUN_FASTLANE] Object: <DTDKMobileDeviceToken: 0x14e68df30>

[RUN_FASTLANE] Method: -platform

[RUN_FASTLANE] Thread: <NSThread: 0x600000518000>{number = 7, name = (null)}

[RUN_FASTLANE] Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.


Full logs of local build here:

If I use eas build using Expo server it works as seen here:

I was using nvm for node. To solve my problem I had to create a symlink to node as follows:

sudo ln -s "$(which node)" /usr/local/bin/node

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