Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Infinite loop on choosing registered devices when there are none #2059

Open
dpletzke opened this issue Sep 21, 2023 · 0 comments
Open

Infinite loop on choosing registered devices when there are none #2059

dpletzke opened this issue Sep 21, 2023 · 0 comments
Assignees
Labels
needs review Issue is ready to be reviewed by a maintainer

Comments

@dpletzke
Copy link

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: … <username>@icloud.com
› Restoring session /Users/<username>app-store/auth/<username>@icloud.com/cookie
› Team <name> (<id>)
› Provider <name> (<id>)
✔ Logged in Local session
✔ Bundle identifier registered com.<username>.<package-name>
✔ Synced capabilities: No updates
✔ Synced capability identifiers: No updates
✔ Fetched Apple distribution certificates
✔ Reuse this distribution certificate?
Cert ID: <ID> Serial number: <number>, Team ID: <ID>, Team name: <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 <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`
@dpletzke dpletzke added the needs review Issue is ready to be reviewed by a maintainer label Sep 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs review Issue is ready to be reviewed by a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants