XCode 15 can't run on iOS 17 devices. Previous preparation error: An error occurred while communicating with a remote process.. The connection was invalidated.

XCode 15 can't run on iOS 17 devices.

  • Simulator 17.2 is installed.
  • Working perfectly in simulator
  • iOS 16 devices and below works.

Devices:

  • Sonoma 14.2 (M1 Pro 16")
  • XCode 15.1
  • iOS 17.1( iPhone 15 Pro)

I've tried many things and nothing works:

  • Restarting XCode
  • Restarting Mac
  • Restarting devices
  • Turning on Developer Mode
  • Re-trust Mac devices multiple times
  • Turning off VPN. I don't even use VPN (https://developer.apple.com/forums/thread/737875)
  • Tried XCode 15.2 beta too. Same issue.
  • Using multiple USB-C cable. Including thunderbolt cable.
  • Force every device to connect to 5GHz network and 2.4GHz network.
  • Turning off WiFi, Bluetooth, Mobile Data on Mac + iOS device. Re-trust the device.
    • this one is a real head scratcher because network is not related to the issue...

The issue I experienced:

  • Always the same error: Previous preparation error: An error occurred while communicating with a remote process.. The connection was invalidated.
  • Capacity in Device and Simulator window in XCode is unknown (should've been 64GB, 128GB, etc)

Surely I'm not the only one experiencing this? Super annoying and I have lost 9++ hours debugging this without any avail.

Error when connected via cable.

Waiting to reconnect to Philip's iPhone 15 Pro
Domain: com.apple.dt.deviceprep
Code: -10
Recovery Suggestion: Previous preparation error: An error occurred while communicating with a remote process.. The connection was invalidated.
User Info: {
    DVTErrorCreationDateKey = "2024-01-05 20:48:35 +0000";
    DVTRecoveryBlockKey = "<__NSMallocBlock__: 0x600004c1e850>";
    NSLocalizedRecoveryOptions =     (
        Cancel
    );
    NSRecoveryAttempter = "<_DVTErrorRecoveryHandler: 0x6000059e8ce0>";
}
--

Error when connected via WiFi

System Information

macOS Version 14.2.1 (Build 23C71)
Xcode 15.1 (22502) (Build 15C65)
Timestamp: 2024-01-06T03:50:50+07:00


An error occurred while communicating with a remote process.
Domain: com.apple.dt.CoreDeviceError
Code: 3
Failure Reason: The connection was invalidated.
User Info: {
    DVTErrorCreationDateKey = "2024-01-05 20:56:13 +0000";
    IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
    "com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI;
}
--
The connection was invalidated.
Domain: com.apple.Mercury.error
Code: 1001
User Info: {
    XPCConnectionDescription = "<SystemXPCPeerConnection 0x600000fe09c0> { <connection: 0x600003ed8000> { name = com.apple.CoreDevice.CoreDeviceService, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 } }";
}
--

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
    "device_isCoreDevice" = 1;
    "device_isWireless" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "dvt_coredevice_version" = "355.7.6";
    "dvt_mobiledevice_version" = "1643.60.2";
    "launchSession_schemeCommand" = Run;
    "launchSession_state" = 1;
    "launchSession_targetArch" = arm64;
    "operation_duration_ms" = 34929;
    "operation_errorCode" = 1001;
    "operation_errorDomain" = "com.apple.dt.CoreDeviceError.3.com.apple.Mercury.error";
    "operation_errorWorker" = IDEInstallCoreDeviceWorker;
    "operation_name" = IDERunOperationWorkerGroup;
    "param_debugger_attachToExtensions" = 0;
    "param_debugger_attachToXPC" = 1;
    "param_debugger_type" = 3;
    "param_destination_isProxy" = 0;
    "param_destination_platform" = "com.apple.platform.iphoneos";
    "param_diag_MainThreadChecker_stopOnIssue" = 0;
    "param_diag_MallocStackLogging_enableDuringAttach" = 0;
    "param_diag_MallocStackLogging_enableForXPC" = 1;
    "param_diag_allowLocationSimulation" = 1;
    "param_diag_checker_tpc_enable" = 1;
    "param_diag_gpu_frameCapture_enable" = 0;
    "param_diag_gpu_shaderValidation_enable" = 0;
    "param_diag_gpu_validation_enable" = 0;
    "param_diag_memoryGraphOnResourceException" = 0;
    "param_diag_queueDebugging_enable" = 1;
    "param_diag_runtimeProfile_generate" = 0;
    "param_diag_sanitizer_asan_enable" = 0;
    "param_diag_sanitizer_tsan_enable" = 0;
    "param_diag_sanitizer_tsan_stopOnIssue" = 0;
    "param_diag_sanitizer_ubsan_stopOnIssue" = 0;
    "param_diag_showNonLocalizedStrings" = 0;
    "param_diag_viewDebugging_enabled" = 1;
    "param_diag_viewDebugging_insertDylibOnLaunch" = 1;
    "param_install_style" = 0;
    "param_launcher_UID" = 2;
    "param_launcher_allowDeviceSensorReplayData" = 0;
    "param_launcher_kind" = 0;
    "param_launcher_style" = 99;
    "param_launcher_substyle" = 8192;
    "param_runnable_appExtensionHostRunMode" = 0;
    "param_runnable_productType" = "com.apple.product-type.application";
    "param_structuredConsoleMode" = 1;
    "param_testing_launchedForTesting" = 0;
    "param_testing_suppressSimulatorApp" = 0;
    "param_testing_usingCLI" = 0;
    "sdk_canonicalName" = "iphoneos17.2";
    "sdk_osVersion" = "17.2";
    "sdk_variant" = iphoneos;
}
--


System Information

macOS Version 14.2.1 (Build 23C71)
Xcode 15.1 (22502) (Build 15C65)
Timestamp: 2024-01-06T03:56:13+07:00
Answered by philipyoungg in 776192022

After 4 days of debugging console and a bit of research, I've fixed this issue. I believe the issue is related to my Mac / XCode because the same issue doesn't happen on fresh installed Mac.

The issue is XCode and iPhone couldn't connect because (I think) Developer Disk Image are corrupted / not found. Therefore they can't make a connection.

Solution: Fix corrupted / missing Developer Disk Image

So what I did:

  • Rename /Library/Developer to something else. Probably like /Library/Developers.
  • Make sure it's on the root path, not /Users/[mac_username]/Library/Developer folder as both folder have DeveloperDiskImage folder inside.
  • Restart XCode. /Library/Developer will populate again

If it doesn't work:

  • Also rename /Users/[mac_username]/Library/Developer folder
  • Unpair your phone and re-pair it again
  • Try restarting everything (Mac, Xcode, iPhone) just to be sure.

This is so hard to found because I've reinstalled XCode 5 times, but for some reason /Library/Developer are not invalidated from scratch.

Hope it helps.

Tested on M2 Macbook Air.

The same issue didn't happen. Strange. Mine is using the 16 M1 Pro.

Is this issue processor specific? Or something weird is happening on my local device?

Update: Tried on a fresh install M1 Air and XCode 15. It connects to iOS 17 devices without issue.

Would appreciate any help because I don't want to reset my work laptop just to be able to debug on device.

Some log from console from fresh pairing.

Seems like it stuck in a loop

default	13:50:02.877727+0700	Xcode	 DVTDeviceOperation: 00008130-0006159A246B8D3A: implicitly preparing eligible device because a use assertion hasn't been fulfilled
default	13:50:02.878246+0700	Xcode	 DVTDeviceOperation: Started connect: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_name" = connect;
}
default	13:50:02.886182+0700	Xcode	 DVTDeviceOperation: 00008130-0006159A246B8D3A: implicitly preparing eligible device because a use assertion hasn't been fulfilled
default	13:50:02.886759+0700	Xcode	 DVTDeviceOperation: Ended pairAndConnect: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_duration_ms" = 38431;
    "operation_name" = pairAndConnect;
}
info	13:50:02.913494+0700	Xcode	Dropping "com.apple.dt.DVTDeviceOperation" as it isn't used in any transform (not in the config or budgeted?)
default	13:50:03.984333+0700	Xcode	 DVTDeviceOperation: Ended connect: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_duration_ms" = 1105;
    "operation_name" = connect;
}
default	13:50:03.984333+0700	Xcode	 DVTDeviceOperation: Ended connect: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_duration_ms" = 1105;
    "operation_name" = connect;
}
default	13:50:03.984417+0700	Xcode	 DVTDeviceOperation: Started observeDarwinNotifications: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_name" = observeDarwinNotifications;
}
default	13:50:03.984417+0700	Xcode	 DVTDeviceOperation: Started observeDarwinNotifications: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_name" = observeDarwinNotifications;
}
default	13:50:03.984819+0700	Xcode	 DVTDeviceOperation: Ended observeDarwinNotifications: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_duration_ms" = 0;
    "operation_name" = observeDarwinNotifications;
}
default	13:50:03.984819+0700	Xcode	 DVTDeviceOperation: Ended observeDarwinNotifications: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_duration_ms" = 0;
    "operation_name" = observeDarwinNotifications;
}
default	13:50:03.984910+0700	Xcode	 DVTDeviceOperation: Started enablePersonalizedDDI: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_name" = enablePersonalizedDDI;
}
default	13:50:03.984910+0700	Xcode	 DVTDeviceOperation: Started enablePersonalizedDDI: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_name" = enablePersonalizedDDI;
}
info	13:50:03.985394+0700	Xcode	Dropping "com.apple.dt.DVTDeviceOperation" as it isn't used in any transform (not in the config or budgeted?)
info	13:50:03.985394+0700	Xcode	Dropping "com.apple.dt.DVTDeviceOperation" as it isn't used in any transform (not in the config or budgeted?)
info	13:50:03.986198+0700	Xcode	Dropping "com.apple.dt.DVTDeviceOperation" as it isn't used in any transform (not in the config or budgeted?)
info	13:50:03.986198+0700	Xcode	Dropping "com.apple.dt.DVTDeviceOperation" as it isn't used in any transform (not in the config or budgeted?)
default	13:50:03.995565+0700	Xcode	 DVTDeviceOperation: Ended enablePersonalizedDDI: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_duration_ms" = 10;
    "operation_errorCode" = 1001;
    "operation_errorDomain" = "com.apple.dt.CoreDeviceError.3.com.apple.Mercury.error";
    "operation_name" = enablePersonalizedDDI;
}

Loop log continuation

default	13:50:03.995565+0700	Xcode	 DVTDeviceOperation: Ended enablePersonalizedDDI: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_duration_ms" = 10;
    "operation_errorCode" = 1001;
    "operation_errorDomain" = "com.apple.dt.CoreDeviceError.3.com.apple.Mercury.error";
    "operation_name" = enablePersonalizedDDI;
}
default	13:50:03.995822+0700	Xcode	 DVTDeviceOperation: Error reported by 00008130-0006159A246B8D3A for enablePersonalizedDDI: An error occurred while communicating with a remote process.
Domain: com.apple.dt.CoreDeviceError
Code: 3
Failure Reason: The connection was invalidated.
User Info: {
    "com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI;
}
--
The connection was invalidated.
Domain: com.apple.Mercury.error
Code: 1001
User Info: {
    XPCConnectionDescription = "<SystemXPCPeerConnection 0x6000019af2a0> { <connection: 0x6000028a44b0> { name = com.apple.CoreDevice.CoreDeviceService, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 } }";
}
--
default	13:50:03.995822+0700	Xcode	 DVTDeviceOperation: Error reported by 00008130-0006159A246B8D3A for enablePersonalizedDDI: An error occurred while communicating with a remote process.
Domain: com.apple.dt.CoreDeviceError
Code: 3
Failure Reason: The connection was invalidated.
User Info: {
    "com.apple.dt.DVTCoreDevice.operationName" = enablePersonalizedDDI;
}
--
The connection was invalidated.
Domain: com.apple.Mercury.error
Code: 1001
User Info: {
    XPCConnectionDescription = "<SystemXPCPeerConnection 0x6000019af2a0> { <connection: 0x6000028a44b0> { name = com.apple.CoreDevice.CoreDeviceService, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 } }";
}
--
default	13:50:03.996356+0700	Xcode	 DVTDeviceOperation: 00008130-0006159A246B8D3A: implicitly preparing eligible device because it has an outstanding preparation error: Error Domain=com.apple.dt.deviceprep Code=-10 "Preparing Philip's iPhone 15 Pro" UserInfo={NSLocalizedRecoverySuggestion=Xcode will continue when the operation completes., NSLocalizedDescription=Preparing Philip's iPhone 15 Pro}
default	13:50:03.996356+0700	Xcode	 DVTDeviceOperation: 00008130-0006159A246B8D3A: implicitly preparing eligible device because it has an outstanding preparation error: Error Domain=com.apple.dt.deviceprep Code=-10 "Preparing Philip's iPhone 15 Pro" UserInfo={NSLocalizedRecoverySuggestion=Xcode will continue when the operation completes., NSLocalizedDescription=Preparing Philip's iPhone 15 Pro}
default	13:50:03.996980+0700	Xcode	 DVTDeviceOperation: Started throttledReconnect: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_name" = throttledReconnect;
}
default	13:50:03.996980+0700	Xcode	 DVTDeviceOperation: Started throttledReconnect: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_name" = throttledReconnect;
}
info	13:50:03.998778+0700	Xcode	Dropping "com.apple.dt.DVTDeviceOperation" as it isn't used in any transform (not in the config or budgeted?)
info	13:50:03.998778+0700	Xcode	Dropping "com.apple.dt.DVTDeviceOperation" as it isn't used in any transform (not in the config or budgeted?)
default	13:50:03.999310+0700	Xcode	 DVTDeviceOperation: 00008130-0006159A246B8D3A: implicitly preparing eligible device because it has an outstanding preparation error: Error Domain=com.apple.dt.CoreDeviceError Code=3 "An error occurred while communicating with a remote process." UserInfo={NSLocalizedFailureReason=The connection was invalidated., NSUnderlyingError=0x60000bc84bd0 {Error Domain=com.apple.Mercury.error Code=1001 "The connection was invalidated." UserInfo={XPCConnectionDescription=<SystemXPCPeerConnection 0x6000019af2a0> { <connection: 0x6000028a44b0> { name = com.apple.CoreDevice.CoreDeviceService, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 } }, NSLocalizedDescription=The connection was invalidated.}}, DVTIssueReportingFunctionalityKey=1, com.apple.dt.DVTCoreDevice.operationName=enablePersonalizedDDI, NSLocalizedDescription=An error occurred while communicating with a remote process.}
default	13:50:03.999310+0700	Xcode	 DVTDeviceOperation: 00008130-0006159A246B8D3A: implicitly preparing eligible device because it has an outstanding preparation error: Error Domain=com.apple.dt.CoreDeviceError Code=3 "An error occurred while communicating with a remote process." UserInfo={NSLocalizedFailureReason=The connection was invalidated., NSUnderlyingError=0x60000bc84bd0 {Error Domain=com.apple.Mercury.error Code=1001 "The connection was invalidated." UserInfo={XPCConnectionDescription=<SystemXPCPeerConnection 0x6000019af2a0> { <connection: 0x6000028a44b0> { name = com.apple.CoreDevice.CoreDeviceService, listener = false, pid = 0, euid = 4294967295, egid = 4294967295, asid = 4294967295 } }, NSLocalizedDescription=The connection was invalidated.}}, DVTIssueReportingFunctionalityKey=1, com.apple.dt.DVTCoreDevice.operationName=enablePersonalizedDDI, NSLocalizedDescription=An error occurred while communicating with a remote process.}
default	13:50:06.191396+0700	Xcode	 DVTDeviceOperation: Ended throttledReconnect: {
    "device_identifier" = "00008130-0006159A246B8D3A";
    "device_isCoreDevice" = 1;
    "device_model" = "iPhone16,1";
    "device_osBuild" = "17.2.1 (21C66)";
    "device_platform" = "com.apple.platform.iphoneos";
    "device_thinningType" = "iPhone16,1";
    "dvt_coredevice_version" = "355.7.7";
    "dvt_mobiledevice_version" = "1643.60.2";
    "operation_duration_ms" = 2192;
    "operation_name" = throttledReconnect;
}
Accepted Answer

After 4 days of debugging console and a bit of research, I've fixed this issue. I believe the issue is related to my Mac / XCode because the same issue doesn't happen on fresh installed Mac.

The issue is XCode and iPhone couldn't connect because (I think) Developer Disk Image are corrupted / not found. Therefore they can't make a connection.

Solution: Fix corrupted / missing Developer Disk Image

So what I did:

  • Rename /Library/Developer to something else. Probably like /Library/Developers.
  • Make sure it's on the root path, not /Users/[mac_username]/Library/Developer folder as both folder have DeveloperDiskImage folder inside.
  • Restart XCode. /Library/Developer will populate again

If it doesn't work:

  • Also rename /Users/[mac_username]/Library/Developer folder
  • Unpair your phone and re-pair it again
  • Try restarting everything (Mac, Xcode, iPhone) just to be sure.

This is so hard to found because I've reinstalled XCode 5 times, but for some reason /Library/Developer are not invalidated from scratch.

Hope it helps.

thank you! this worked for me

I have the same issue, but the solution suggested here didn't work for me. I tried everything by now:

  • restart iPhone and Mac
  • uninstall and reinstall XCode (including removing both Library/Developer folders
  • update iOS and MacOS to beta version (one after the other)
  • use CleanMyMacX to clean my system (was thinking maybe there was some old XCode files)
  • reset Data & Privacy on my iPhone

When I'm plugging in the iPhone, I'm getting the "Trust this device" message on the phone. Then I'm prompted to enter the PIN. Meanwhile, this is what XCode shows:

I have an iPad which connects fine, but my phone simply won't connect anymore. It used to work, but recently stopped working. I don't think it's connected, but I also recently signed up to the Apple Developer Program 🤷‍♂️ I'm running out of ideas now. Any suggestions?

Same situation on two computers, an M1 MacMini and an M2 MacBook Pro. Using an iPhone 12 as my test device. I've followed directions here and in other threads. No joy. I don't think i can step back to Xcode 14 as my devices would not be recognized. I've submitted a report to Apple.

It's about time Apple provides an uninstaller for Xcode that performs a clean uninstall or repair functionality - this is 2024

Related thread affecting Apple Watch connectivity from Xcode: https://forums.developer.apple.com/forums/thread/734694?page=2#786325022

I'm attempting to unify all of these threads into a single thread via https://forums.developer.apple.com/forums/thread/750801#750801021

Same problem after upgrading to iOS 17.4.1 with an iPhone 11 Pro. I am using Xcode 15.3 on a Apple M1 mini. Before the iOS mobile upgrade, building with Xcode 15.3 was working. Any news?

My MacBook's Xcode sees other devices. At the same time, my device is visible to other Macbooks. The only problem is the combination of the specific computer and the specific device. I have tried everything suggested and still no luck in making it work. The device is visible in Finder, but not visible by Xcode.

XCode 15 can't run on iOS 17 devices. Previous preparation error: An error occurred while communicating with a remote process.. The connection was invalidated.
 
 
Q