I started having this issue a few days ago after moving from some dependencies from Cocoapods to Swift Package Manager. I think I finally found where my old iPhone's info was being stored. Open ~/Library/Preferences/com.apple.dt.xcodebuild.plistand expand the DVTDeviceTokens array. From there you can browse or search the items for the devices you want to remove. I had a whole lot of old devices in there, so I just removed all the items. Running xcodebuild again repopulated the array with my current devices.