Hi. I was facing this error 65, the problem is that this is used as a general error code as you can see here https://support.circleci.com/hc/en-us/articles/360012553194-fastlane-gym-failed-with-ARCHIVE-FAILED-error-message-exit-status-65-
- There are some steps I did to solve and maybe it could help you:
1- Check here what softwares are installed in the iOS executor you’re using (https://circleci.com/docs/2.0/testing-ios/#macos-build-containers)
2 - probably you need to align the ruby version you’re building on Fastlane with the one which is available in the container.
3 - I was facing a problem which was only possible to solve after upgrade my watchman version. I found it here (https://stackoverflow.com/questions/54427035/circleci-react-native-xcode-10)
4 - If nothing from this helped you. Set your log as artifact and it will help to found out the real cause as I mentioned here: Debug with SSH has stopped working in BitBucket.
Hope it will be helpful!