I've been trying to debug this for a while now, but nothing has worked so far. I've tried re-starting my laptop too.
My build runs fine on eas servers, but it fails locally: eas build --platform ios --profile preview --local
(i've also tried with --clear-cache
)
[RUN_FASTLANE] ▸ ARCHIVE FAILED
[RUN_FASTLANE] ▸ The following build commands failed:
[RUN_FASTLANE] ▸ Archiving workspace ____ with scheme ____
[RUN_FASTLANE] ▸ (1 failure)
[RUN_FASTLANE] ARCHIVE FAILED
[RUN_FASTLANE]
[RUN_FASTLANE]
[RUN_FASTLANE] The following build commands failed:
[RUN_FASTLANE] Archiving workspace ____ with scheme ____
[RUN_FASTLANE] (1 failure)
[RUN_FASTLANE] Exit status: 65
[RUN_FASTLANE]
[RUN_FASTLANE] +---------------------------------------+
[RUN_FASTLANE] | Build environment |
[RUN_FASTLANE] +-------------+-------------------------+
[RUN_FASTLANE] | xcode_path | /Applications/Xcode.app |
[RUN_FASTLANE] | gym_version | 2.226.0 |
[RUN_FASTLANE] | sdk | iPhoneOS18.2.sdk |
[RUN_FASTLANE] +-------------+------------------------
Any ideas on how to solve this issue?
After debugging, this was the answer:
EAS_LOCAL_BUILD_SKIP_CLEANUP=1 eas build --platform ios --profile preview --local