The archive failed is likely an XCode command line tools error.
You could try running the app locally without eas. Make sure that your phone and computer are on the same Wi-Fi network.
You can also follow this guide if you are trying to push out a production build.