expo: Submitting iOS app through `eas submit` is failing because of a fastlane pilot error
Summary
Whenever we try to submit an app through eas submit -p ios its failing. Only started recently in the last hour.

What platform(s) does this occur on?
iOS
SDK Version
48
Environment
expo-env-info 1.0.5 environment info: System: OS: macOS 13.2 Shell: 5.8.1 - /bin/zsh Binaries: Node: 16.17.0 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 8.15.0 - /usr/local/bin/npm Watchman: 2023.01.23.00 - /opt/homebrew/bin/watchman IDEs: Android Studio: 2022.1 AI-221.6008.13.2211.9619390 Xcode: /undefined - /usr/bin/xcodebuild npmPackages: babel-preset-expo: ^9.3.0 => 9.3.1 expo: ^48.0.0 => 48.0.9 react: 18.2.0 => 18.2.0 react-dom: 18.2.0 => 18.2.0 react-native: 0.71.6 => 0.71.6 react-native-web: ~0.18.11 => 0.18.12 npmGlobalPackages: eas-cli: 3.10.2 expo-cli: 6.1.0 Expo Workflow: managed
Minimal reproducible example
I dont think its an app specific problem. Whenever we submit the iOS app, the following error is displayed:
Starting the submit process
Downloading archive
Preparing artifact
Verifying archive
Creating ascApiJsonKey.json file with ASC credentials
Submitting iOS app to TestFlight...
Submitting the app with fastlane pilot
undefined method `split' for nil:NilClass
-------------------
--- Step: pilot ---
-------------------
Creating authorization token for App Store Connect API
Ready to upload new build to TestFlight (App: 1501364694)...
undefined method `split' for nil:NilClass
[stderr]
[!] Error detecting currently used Xcode installation, please ensure that you have Xcode installed and set it using `sudo xcode-select -s [path]`
Fastlane pilot failed
fastlane exited with non-zero code: 1
Failed to submit the app
We couldn't figure out what went wrong. See logs to learn more.
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 16 (1 by maintainers)
this was indeed an intermittent issue. we’ve had some problems with the infrastructure that EAS Submit runs on (one of those caused the issue you observed) and we’re now in the process migrating it to more stable infrastructure
Good evening, someone to help me please, for three days I have been trying to deploy my iOS app, but I have this error

using “retry submission” in UI fixed the problem