expo / expo/eas-cli

Infinite loop on choosing registered devices when there are none

Open
#2,059 0 comments 0 reactions 1 assignee Claimed by @radoslawkrzemien View on GitHub
needs review
Dominant language
TypeScript
Stars
1.4k
Forks
236
Avg merge
3d 8h
Merged PRs (30d)
98

Description

### Build/Submit details page URL

_No response_

### Summary

When running `eas build --profile development --platform ios` an infinite loop happens when the user chooses to select a device from the Apple Developer Portal when there is none. The cli repeats "There are still no registered devices" until the user ends the process.

### Managed or bare?

Bare

### Environment

expo-env-info 1.0.5 environment info:
System:
OS: macOS 13.4.1
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.17.1 - ~/.nvm/versions/node/v18.17.1/bin/node
Yarn: 1.22.18 - ~/.yarn/bin/yarn
npm: 9.6.7 - ~/.nvm/versions/node/v18.17.1/bin/npm
Managers:
CocoaPods: 1.11.3 - /Users/dpletzke/.rvm/gems/ruby-3.0.0/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
npmPackages:
@expo/webpack-config: ^19.0.0 => 19.0.0
expo: ^49.0.9 => 49.0.9
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.72.4 => 0.72.4
react-native-web: ~0.19.6 => 0.19.8
npmGlobalPackages:
eas-cli: 5.2.0
Expo Workflow: bare

✔ Check Expo config for common issues
✔ Check package.json for common issues
✔ Check dependencies for packages that should not be installed directly
✔ Check for common project setup issues
✔ Check npm/ yarn versions
✔ Check Expo config (app.json/ app.config.js) schema
✔ Check that packages match versions required by installed Expo SDK
✔ Check for legacy global CLI installed locally
✔ Check that native modules do not use incompatible support packages
✔ Check that native modules use compatible support package versions for installed Expo SDK

Didn't find any issues with the project!

### Error output

_No response_

### Reproducible demo or steps to reproduce from a blank project

enter in the command below and follow the steps
```
eas build --profile development --platform ios
Loaded "env" configuration for the "development" profile: no environment variables specified. Learn more: https://docs.expo.dev/build-reference/variables/
✔ Using remote iOS credentials (Expo server)

If you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them.
This is optional, but without Apple account access you will need to provide all the missing values manually and we can only run minimal validation on them.
✔ Do you want to log in to your Apple account? … yes

› Log in to your Apple Developer account to continue
✔ Apple ID: … @icloud.com
› Restoring session /Users/app-store/auth/@icloud.com/cookie
› Team ()
› Provider ()
✔ Logged in Local session
✔ Bundle identifier registered com..
✔ Synced capabilities: No updates
✔ Synced capability identifiers: No updates
✔ Fetched Apple distribution certificates
✔ Reuse this distribution certificate?
Cert ID: Serial number: , Team ID: , Team name: (Individual)
Created: 34 minutes ago, Updated: 24 minutes ago,
Expires: Fri, 20 Sep 2024 09:34:45 GMT-0500 … yes
Using distribution certificate with serial number
✔ You don't have any registered devices yet. Would you like to register them now? … yes
✔ How would you like to register your devices? › Developer Portal - import devices already registered on Apple Developer Portal
All your devices registered on Apple Developer Portal are already imported to EAS.

There are still no registered devices.

There are still no registered devices.

There are still no registered devices.

There are still no registered devices.

There are still no registered devices.

There are still no registered devices.

There are still no registered devices.

There are still no registered devices.

There are still no registered devices.

There are still no registered devices.

There are still no registered devices.

There are still no registered devices.

^C`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.