Skip to content

Handle updated json format from devicectl #26482

Description

@rolfbjarne

Xcode 27's release notes say (https://developer.apple.com/documentation/xcode-release-notes/xcode-27-release-notes#devicectl):

New Features in Xcode 27 Beta 5

As of JSON version 5, devicectl now adds a ‘_deprecationNotice’ field to any JSON result that contains deprecated properties. Here is the deprecation notice shown for the JSON for device details:

 "_deprecationNotice" : { 
     "deprecatedFields" : [ 
         "hardwareProperties", 
         "deviceProperties", 
         "connectionProperties" 
     ], 
     "message" : "The 'hardwareProperties', 'deviceProperties', 'connectionProperties' fields are deprecated and will be removed in a future release. Use the 'properties' dictionary instead.", 
     "replacement" : "properties" 
 },
 ```  (170812159)  


‘devicectl list devices’ now shows a unique identifier for devices. If a UDID is available, that is presented, otherwise, if available, the ECID is presented, otherwise the CoreDevice identifier is shown. The JSON returned by the command is unaffected. (183766625)

We should update mlaunch, msbuild/ and macios-devtools accordingly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions