4

My build works on EAS but fails locally. Command:

eas build --platform ios --local --profile development

The archive step fails:

Build failed
Fastlane build failed with unknown error. See logs for the "Run fastlane" and "Xcode Logs" phases for more information.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.

How do I view the Xcode logs? These are available to download for EAS hosted builds.

Brett Thomas
  • 1,694
  • 3
  • 15
  • 21
  • I have the same issue I don't know if you tried this https://stackoverflow.com/questions/74434035/expo-sdk-46-ios-build-failed-in-fastlane-step – danarj Mar 12 '23 at 20:45

1 Answers1

0

use env var

it turns out the logs are ephemeral unless you explicitly keep them - github issue comment

to keep the logs set the environment variable EAS_LOCAL_BUILD_SKIP_CLEANUP

example

EAS_LOCAL_BUILD_SKIP_CLEANUP=1 eas build --output dist/ios.ipa --profile preview --platform ios --non-interactive --local --wait

output

  • persisted logs warning in yellow

    cli output

  • clicking that path opened this

    logs and temp files

ALFmachine
  • 639
  • 7
  • 12