Xcode 10.2 Beta (10P82s) simctl (@(#)PROGRAM:simctl PROJECT:CoreSimulator-494.33) platform identifiers corrupted

Originator:tommaso.piazza
Number:rdar://47546786 Date Originated:25/01/2019
Status:Closed Resolved:28/01/2018
Product:Xcode Product Version:10.2 Beta (10P82s)
Classification:Other Reproducible:Always
 
Summary:
`xcrun simctl list devices --json` uses platfrom ids like `com.apple.CoreSimulator.SimRuntime.watchOS-5-2` instead of what used to be simply `watchOS 5.2`


Steps to Reproduce:

- Install Xcode 10.2 Beta
- Run any simulator
- sudo xcode-select -s  /Applications/Xcode_10.2/Contents/Developer
- xcrun simctl list devices --json`
- notice the output

Expected Results:

platforms keys are in the form `[iOS|watchOS|tvOS] major.minor`

Actual Results:
 platforms keys are in the form `com.apple.CoreSimulator.SimRuntime.watchOS-5-2`

Version/Build:

Xcode 10.2 Beta (10P82s) 
simctl (@(#)PROGRAM:simctl  PROJECT:CoreSimulator-494.33)
Configuration:

MacOS 10.14.2

Comments

Resolution

Apple Developer Relations

Please know that our engineering team has determined that this issue behaves as intended based on the information provided.

In order to better support pinning, this was the least disruptive option.

By tommaso.piazza at Jan. 28, 2019, 5:49 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!