Skip to content

Facing build error after re-registering device with eas-cli #2025

Description

@minxd95

Build/Submit details page URL

not exists

Summary

I used eas device:delete to remove my device, and then re-registered it using eas device:create.

After that, when I try to build using the command eas build --profile preview --platform ios --local, I get the error shown below.

Failed to set up credentials.
Apple provided the following error info:
There were errors in the data supplied. Please correct and re-submit.
There are no current IOS devices on this team matching the provided device IDs.

I did not encounter this error when I first registered my device. However, after deleting and re-registering, I'm experiencing this issue.

Is anyone else facing the same problem?

Managed or bare?

I've conducted a prebuild, and I'm not sure whether it's bare or managed.

Environment

expo-env-info 1.0.5 environment info:
    System:
      OS: macOS 13.1
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 18.16.1 - ~/.nvm/versions/node/v18.16.1/bin/node
      npm: 9.5.1 - ~/.nvm/versions/node/v18.16.1/bin/npm
      Watchman: 2023.08.14.00 - /opt/homebrew/bin/watchman
    Managers:
      CocoaPods: 1.12.1 - /opt/homebrew/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
    IDEs:
      Android Studio: 2022.2 AI-222.4459.24.2221.10121639
      Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
    npmPackages:
      expo: ^49.0.6 => 49.0.6 
      react: 18.2.0 => 18.2.0 
      react-native: 0.72.3 => 0.72.3 
      react-native-web: ~0.19.6 => 0.19.6 
    npmGlobalPackages:
      eas-cli: 4.1.2
    Expo Workflow: bare
Detailed check results:

Some dependencies are incompatible with the installed expo version:
  expo-dev-client@2.4.6 - expected version: ~2.4.8
  expo-updates@0.18.11 - expected version: ~0.18.12
  react-native@0.72.3 - expected version: 0.72.4
Your project may not work correctly until you install the correct versions of the packages.
Fix with: npx expo install --fix
Found outdated dependencies
Advice: Use 'npx expo install --check' to review and upgrade your dependencies.

This project has native project folders but is also configured to use Prebuild. EAS Build will not sync your native configuration if the ios or android folders are present. Add these folders to your .gitignore file if you intend to use prebuild (aka "managed" workflow).

One or more checks failed, indicating possible issues with the project.

Error output

image

Reproducible demo or steps to reproduce from a blank project

  1. Device registration using the eas device:create command
  2. Device removal using the eas device:delete command
  3. Re-registration of the device using the eas device:create command
  4. Attempting to build using the eas build --profile preview --platform ios --local command
  5. Error occurs

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reviewIssue is ready to be reviewed by a maintainer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions