Where does this error/warning message come from?

When running xcodebuild on the command-line, I see many errors/warnings of the form:

2022-04-25 14:06:49.346 xcodebuild[49487:2429539] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7fb9fdc04d20), My iPhone 11, iPhone, 13.4.1 (17E262), 00008030-001570660282802E>: downgrading native architecture from arm64e to arm64 for com.apple.platform.iphoneos:13.4.1

This is for a device I no longer use or have. Where does this error come from and how can I get rid of it? I don't see it in Xcode's "Devices" list. And I see the same error repeated about 15 times (exact same device, version, etc.).

Post not yet marked as solved Up vote post of danny_int Down vote post of danny_int
723 views

Replies

Same, I no longer have the device in question, it's been removed from XCode's device list, and I've done a complete removal and reinstall of XCode, including clearing caches between the time I removed the device and now. Error repeats identically 12 times.

2022-05-04 18:08:20.317 xcodebuild[56890:936753] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7f9347385d10), My iPhone, iPhone, 12.1.2 (16C101), 00008020-001D18891A78002E>: downgrading native architecture from arm64e to arm64 for com.apple.platform.iphoneos:12.1.2

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.

  • Thank you @jcharr42!

    I had checked various locations and caches, but for some reason, I never thought to check ~/Library/Preferences. Removing the device from ~/Library/Preferences/com.apple.dt.xcodebuild.plist cleared the warning for my builds.

    Mahalo

Add a Comment