Skip to content

Applesimutils --list doesn't find iPhone devices #119

Description

@kg-currenxie

Description

After upgrading Xcode to 15

applesimutils --list | grep "iPhone"
=> no output

brew untap -f wix/brew && brew tap wix/brew
brew install applesimutils

applesimutils --list | grep "iPhone"
=> still no output

Steps to Reproduce
simctl works tho:

xcrun simctl list | grep "iPhone 15"
iPhone 15 (com.apple.CoreSimulator.SimDeviceType.iPhone-15)
iPhone 15 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-15-Plus)
iPhone 15 Pro (com.apple.CoreSimulator.SimDeviceType.iPhone-15-Pro)
iPhone 15 Pro Max (com.apple.CoreSimulator.SimDeviceType.iPhone-15-Pro-Max)
    iPhone 15 (B860117E-30BC-49BB-ADEB-2742B4586EDE) (Shutdown)
    iPhone 15 Plus (0795771F-ED31-4E99-90A8-4A8AA18CF8D7) (Shutdown)
    iPhone 15 Pro (4E593FCF-74AA-4F46-84CA-F3777F02FFED) (Shutdown)
    iPhone 15 Pro Max (17FCDDC4-1659-42A6-A56F-B4D6C0773CD8) (Shutdown)

Expected Behavior
Should find ios devices

Screenshots
image

image

Environment

  • macOS version: 14.0 (23A344)
  • Xcode version: Version 15.0 (15A240d)
  • applesimutils version 0.9.10

Example of applesimutils output with other devices (without grep iPhone)

{
    "os" : {
      "bundlePath" : "\/Library\/Developer\/CoreSimulator\/Volumes\/watchOS_20R362\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/watchOS 9.0.simruntime",
      "buildversion" : "20R362",
      "platform" : "watchOS",
      "runtimeRoot" : "\/Library\/Developer\/CoreSimulator\/Volumes\/watchOS_20R362\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/watchOS 9.0.simruntime\/Contents\/Resources\/RuntimeRoot",
      "identifier" : "com.apple.CoreSimulator.SimRuntime.watchOS-9-0",
      "version" : "9.0",
      "isInternal" : false,
      "isAvailable" : true,
      "name" : "watchOS 9.0",
      "supportedDeviceTypes" : [
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 4 (40mm).simdevicetype",
          "name" : "Apple Watch Series 4 (40mm)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-40mm",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 4 (44mm).simdevicetype",
          "name" : "Apple Watch Series 4 (44mm)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-4-44mm",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 5 (40mm).simdevicetype",
          "name" : "Apple Watch Series 5 (40mm)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-40mm",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 5 (44mm).simdevicetype",
          "name" : "Apple Watch Series 5 (44mm)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-5-44mm",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch SE (40mm).simdevicetype",
          "name" : "Apple Watch SE (40mm)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-40mm",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch SE (44mm).simdevicetype",
          "name" : "Apple Watch SE (44mm)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-44mm",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 6 (40mm).simdevicetype",
          "name" : "Apple Watch Series 6 (40mm)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-40mm",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 6 (44mm).simdevicetype",
          "name" : "Apple Watch Series 6 (44mm)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-6-44mm",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 7 (41mm).simdevicetype",
          "name" : "Apple Watch Series 7 (41mm)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-41mm",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 7 (45mm).simdevicetype",
          "name" : "Apple Watch Series 7 (45mm)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-7-45mm",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch SE (40mm) (2nd generation).simdevicetype",
          "name" : "Apple Watch SE (40mm) (2nd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-40mm-2nd-generation",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch SE (44mm) (2nd generation).simdevicetype",
          "name" : "Apple Watch SE (44mm) (2nd generation)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-SE-44mm-2nd-generation",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 8 (41mm).simdevicetype",
          "name" : "Apple Watch Series 8 (41mm)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-8-41mm",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Series 8 (45mm).simdevicetype",
          "name" : "Apple Watch Series 8 (45mm)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-8-45mm",
          "productFamily" : "Apple Watch"
        },
        {
          "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Ultra (49mm).simdevicetype",
          "name" : "Apple Watch Ultra (49mm)",
          "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Ultra-49mm",
          "productFamily" : "Apple Watch"
        }
      ]
    },
    "dataPath" : "\/Users\/frexuz\/Library\/Developer\/CoreSimulator\/Devices\/6BB3449C-87BE-4A01-A58B-F5C06621B806\/data",
    "dataPathSize" : 0,
    "logPath" : "\/Users\/frexuz\/Library\/Logs\/CoreSimulator\/6BB3449C-87BE-4A01-A58B-F5C06621B806",
    "udid" : "6BB3449C-87BE-4A01-A58B-F5C06621B806",
    "isAvailable" : true,
    "deviceType" : {
      "maxRuntimeVersion" : 4294967295,
      "bundlePath" : "\/Applications\/Xcode.app\/Contents\/Developer\/Platforms\/WatchOS.platform\/Library\/Developer\/CoreSimulator\/Profiles\/DeviceTypes\/Apple Watch Ultra (49mm).simdevicetype",
      "maxRuntimeVersionString" : "65535.255.255",
      "name" : "Apple Watch Ultra (49mm)",
      "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Ultra-49mm",
      "productFamily" : "Apple Watch",
      "modelIdentifier" : "Watch6,18",
      "minRuntimeVersionString" : "9.0.0",
      "minRuntimeVersion" : 589824
    },
    "deviceTypeIdentifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Ultra-49mm",
    "state" : "Shutdown",
    "name" : "Apple Watch Ultra (49mm)"
  }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions