Skip to content

eas device:create (Developer Portal import) broken since v18.5.0 — apple-utils pagination #3764

@kirstilynn

Description

@kirstilynn

Summary

eas device:create → "Developer Portal — import devices already registered" fails on v18.5.0 and later. v18.4.0 works. The only relevant dependency change between those versions is @expo/apple-utils 2.1.132.1.16, so the regression is in apple-utils.

Confirmed still broken on the latest v19.0.4.

Likely the JWT-auth flavor of the pagination bug from #3392 (cookie-auth flavor).

Repro

eas device:create
# → use <org> account: yes
# → Developer Portal — import devices already registered

Other registration methods (Website, Input manually) succeed — they don't hit pagination. .p8 + issuer + key id are good (curl against GET /v1/devices returns 200).

Output

|■■■■■| Fetching Apple devices...
The specified resource does not exist - The path provided does not match a defined resource type.
UnexpectedAppleResponse: ...
    at l.parseResponse (.../@expo/apple-utils/build/index.js:1:785175)
    at l.requestAndParseAsync (.../@expo/apple-utils/build/index.js:1:783558)
    at async t.ConnectResponse.fetchNextPagesAsync (.../@expo/apple-utils/build/index.js:1:787305)
    at async l.fetchAllModelsAsync (.../@expo/apple-utils/build/index.js:1:783164)
    at async findUnregisteredPortalDevicesAsync (.../eas-cli/build/devices/actions/create/developerPortalMethod.js:62:27)

Environment

eas-cli/19.0.4 darwin-arm64 node-v24.14.0, ASC API key auth.

Workaround

bun install -g eas-cli@18.4.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions