Skip to main content

devices

Manage devices for app development and testing
Manage devices in App Store Connect for development builds, ad-hoc distribution, and TestFlight internal testing.

Quick Start

Subcommands

  • list - List devices in App Store Connect
  • get - Get a device by ID
  • local-udid - Get the local macOS hardware UDID
  • register - Register a new device
  • update - Update a device

Commands

devices list

List devices in App Store Connect:
Flags:
  • --name - Filter by device name(s), comma-separated
  • --platform - Filter by platform(s), comma-separated: IOS, MAC_OS, TV_OS, VISION_OS
  • --status - Filter by status: ENABLED, DISABLED
  • --udid - Filter by UDID(s), comma-separated
  • --id - Filter by device ID(s), comma-separated
  • --sort - Sort by: id, -id, name, -name, platform, -platform, status, -status, udid, -udid
  • --fields - Fields to include: addedDate, deviceClass, model, name, platform, status, udid
  • --limit - Maximum results per page (1-200)
  • --next - Fetch next page using a links.next URL
  • --paginate - Automatically fetch all pages
  • --output - Output format: json, table, markdown
  • --pretty - Pretty-print JSON output

devices view

Get a device by ID:
Flags:
  • --id - Device ID (required)
  • --fields - Fields to include: addedDate, deviceClass, model, name, platform, status, udid
  • --output - Output format: json, table, markdown
  • --pretty - Pretty-print JSON output

devices local-udid

Get the local macOS hardware UDID:
Flags:
  • --output - Output format: json, table, markdown
  • --pretty - Pretty-print JSON output
Note: This command only works on macOS and reads the hardware UUID from the system.

devices register

Register a new device:
Flags:
  • --name - Device name (required)
  • --udid - Device UDID (required unless --udid-from-system)
  • --udid-from-system - Use local macOS hardware UUID as UDID (macOS only)
  • --platform - Device platform: IOS, MAC_OS, TV_OS, VISION_OS (required)
  • --output - Output format: json, table, markdown
  • --pretty - Pretty-print JSON output
Note: --udid and --udid-from-system are mutually exclusive.

devices update

Update a device:
Flags:
  • --id - Device ID (required)
  • --name - Device name
  • --status - Device status: ENABLED, DISABLED
  • --output - Output format: json, table, markdown
  • --pretty - Pretty-print JSON output
Note: At least one update flag (--name or --status) is required.

Device Platforms

  • IOS - iPhone and iPad devices
  • MAC_OS - Mac computers
  • TV_OS - Apple TV devices
  • VISION_OS - Apple Vision Pro devices

Device Status

  • ENABLED - Device is active and can be used for development
  • DISABLED - Device is disabled and cannot be used

Examples

Register iOS Device

Register Current Mac

Or use the shortcut:

List Enabled iOS Devices

Disable Device

Find Device by UDID

Bulk Register Devices

devices.csv:

Export Device List

Finding Device UDIDs

iOS Devices

  1. Connect device to Mac
  2. Open Finder
  3. Select device in sidebar
  4. Click on device name to reveal UDID
  5. Right-click and copy UDID
Or use ideviceinfo:

macOS Devices

Use the local-udid command:
Or find it in System Information:
  1. Click Apple menu > About This Mac
  2. Click System Report
  3. Select Hardware
  4. Look for “Hardware UUID”

Apple TV

  1. Go to Settings > General > About
  2. Scroll to “Identifier”

Apple Vision Pro

  1. Go to Settings > General > About
  2. Look for “Serial Number” or connect to Mac and use Finder

Provisioning Profiles

After registering devices, regenerate provisioning profiles:
Or use Xcode to automatically refresh provisioning profiles.