Has `xcodebuild -showdestinations` been changed since macOS Sequoia?

Hi,

I just upgraded MBP M3 Pro and mac mini M1/M2 to macOS 15.1 Sequoia and these macs not showing its available destination candidates after update.


DEVELOPER_DIR=`xcode-select -p` xcodebuild -scheme myapp -derivedDataPath ./derived_data -showdestinations



Command line invocation:

   /Applications/Xcode/Xcode_16.2.app/Contents/Developer/usr/bin/xcodebuild -scheme myapp -derivedDataPath derived_data -showdestinations



User defaults from command line:

    IDEDerivedDataPathOverride = /path/to/myapp/derived_data

    IDEPackageSupportUseBuiltinSCM = YES



	Available destinations for the "approduce_calc_v2" scheme:

		{ platform:macOS, arch:arm64, variant:Designed for [iPad,iPhone], id:00006020-001971C422C3C01E, name:My Mac }

		{ platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-iphoneos:placeholder, name:Any iOS Device }

		{ platform:iOS Simulator, id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Any iOS Simulator Device }

While my macs got all the simulator runtimes/devices installed and available.


$ DEVELOPER_DIR=/Applications/Xcode/Xcode_16.2.app xcrun simctl list devices

== Devices ==

-- iOS 17.5 --

    iPhone 15 Pro (48C3EFC6-2B93-4C9D-8C7B-F841CE09E901) (Shutdown)

    iPhone 15 Pro Max (E2C4D8AA-BF0A-42B4-9D83-70F0CFD21934) (Shutdown)

    iPhone 15 (350882E2-5A78-47E7-879F-E548F8810386) (Shutdown)

    iPhone 15 Plus (9FE3F7F6-FAC0-4ACA-96A6-0E8DBBA17068) (Shutdown)

...

and in my other macs, still in Sonoma 14.5, xcodebuild -showdestinations command still works well(shows the entire list of available simulator devices).

My question is:

Did you change the specs of xcodebuild -showdestinations command from the ones working in macOS Sequoia, not to show all the destinations available?

I found out what makes xcodebuild -showdestinations change behavior within the app codebases exactly.

With Xcode 16.x on Sequoia, xcodebuild -showdestinations on the scheme without Swift Package dependencies shows only my mac, Any iOS Simulator Device, and Any iOS Device.

If my app depends on any Swift Packages, the command finally prints out all the devices installed in my mac after resolving dependencies.

but if the package dependencies are already resolved beforehand(e.g. by dependency cacheing) the command falls back to print out my mac, Any iOS Simulator Device, and Any iOS Device only. If you want to see what simulator devices are available, you should abandon SwiftPM cache and run SPM before executing command.

Has `xcodebuild -showdestinations` been changed since macOS Sequoia?
 
 
Q