Post

Replies

Boosts

Views

Activity

Reply to 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.
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.
Jan ’24
Reply to 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.
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; }
Jan ’24
Reply to 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.
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; }
Jan ’24
Reply to Having issues authorizing payment for Apple Developer Program
@pjfisher you say a friend has gotten it right with "some of these cards", do you mean the same bank and account type, or the exact same actual cards (i.e. same card numbers) you tried? It might be worth checking with them how they have the card info stored in their Apple ID account EXACTLY i.e. the name on the card etc. and then comparing that to how they filled that in on the web order ...maybe there's some magic there we're all missing. Both. One friend have the same bank Another have the exact same card It's enrolled exactly. He's also the one who input everything instead of me. It's enrolled exactly. He's also the one who input everything instead of me. That's why this is so strange. I also been looking for that "magic". I've tried combinations of: different device enroll on US working time debit visa, debit mastercard, credit visa, credit mastercard offline credit card, personal credit card uppercase all name uppercase all address enroll in different device change phone number format call Apple Support > 10 times ...nothing works.  Most attempt also CANCELED at 12PM at my time—which if converted to CST (US Support timezone, is at 12AM midnight). It appears to be automated. From what I see, the most problem came from: Indonesia Russia South Africa Vietnam Malaysia US, Japan, Singapore, etc seems could enroll and be processed in few minutes.  Based on all that, my conclusion is Apple payment system didn't automatically process our payment for some of us. And support can't do anything about it because the payment is processed somewhere else.  The only solution is to make a big problem about this (maybe with [change dot org]? ) and make Apple fix it. Seems they are not aware of the problem as it's not as widespread and only happen to few individuals in different country.
Jul ’20
Reply to Having issues authorizing payment for Apple Developer Program
Something really weird is going on. I'm located in Indonesia and have tried 3 US card, 1 German based, and about 8 Indonesian card. All failed. The weirdest thing is some of these cards have successfully enrolled my friend in single try. Creating new account doesn't do anything—it's still automatically canceled. What makes me furious is some developer from my country can enroll with their CC and immediately confirmed in 3 minutes after submission is processed. I don't know what to do anymore. I have applied 32 times for the past 80 days. This is so stupid.
Jun ’20