The operation couldn’t be completed. xpc error

I get an error on xcode 14.0 beta 5 when run simulator, detail error : Details

The operation couldn’t be completed. xpc error Domain: NSPOSIXErrorDomain Code: 64 Failure Reason: xpc error User Info: { DVTErrorCreationDateKey = "2022-08-10 09:21:24 +0000"; IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher; } -- Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : { "device_model" = "iPhone14,2"; "device_osBuild" = "16.0 (20A5339d)"; "device_platform" = "com.apple.platform.iphonesimulator"; "launchSession_schemeCommand" = Run; "launchSession_state" = 1; "launchSession_targetArch" = arm64; "operation_duration_ms" = 13837; "operation_errorCode" = 64; "operation_errorDomain" = NSPOSIXErrorDomain; "operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher; "operation_name" = IDERunOperationWorkerGroup; "param_consoleMode" = 0; "param_debugger_attachToExtensions" = 0; "param_debugger_attachToXPC" = 1; "param_debugger_type" = 3; "param_destination_isProxy" = 0; "param_destination_platform" = "com.apple.platform.iphonesimulator"; "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" = 0; "param_launcher_substyle" = 0; "param_runnable_appExtensionHostRunMode" = 0; "param_runnable_productType" = "com.apple.product-type.application"; "param_runnable_type" = 2; "param_testing_launchedForTesting" = 0; "param_testing_suppressSimulatorApp" = 0; "param_testing_usingCLI" = 0; "sdk_canonicalName" = "iphonesimulator16.0"; "sdk_osVersion" = "16.0"; "sdk_variant" = iphonesimulator; } -- System Information macOS Version 13.0 (Build 22A5321d) Xcode 14.0 (21330) (Build 14A5294e) Timestamp: 2022-08-10T16:21:24+07:00

Post not yet marked as solved Up vote post of andes Down vote post of andes
6k views

Accepted Reply

This issue is solved, open finder > applications > xcode-beta > right click > get info > checklist 'open using Rosetta'

Add a Comment

Replies

This issue is solved, open finder > applications > xcode-beta > right click > get info > checklist 'open using Rosetta'

Add a Comment
  1. Go to [(apple icon the top left corner) > About this Mac > Storage > Manage > Developer]
  2. Delete all the content (no worries!)

Taken from: https://stackoverflow.com/a/72238810/4345461

  • This solved it for me, thank you!

Add a Comment

I met a similar issue, and I solved like below: About this Mac > Storage > Manage > Developer and Open the screen, delete all cache, then it should work well.

  • excellent!I have searched almost all websites, but there is no solution. This method is feasible. thank you!

  • yes, work for me!

Add a Comment

Hello

I'm seeing the same error on my mac. IDK why? I tried all solve methods that are written here. It didn't work. Is there anyone who can tell me how I can solve it?

Thanks


The operation couldn’t be completed. xpc error
Domain: NSPOSIXErrorDomain
Code: 64
Failure Reason: xpc error
User Info: {
  DVTErrorCreationDateKey = "2022-11-07 21:17:27 +0000";
  IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
}
--

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
  "device_model" = "iPhone15,2";
  "device_osBuild" = "16.1 (20B72)";
  "device_platform" = "com.apple.platform.iphonesimulator";
  "launchSession_schemeCommand" = Run;
  "launchSession_state" = 1;
  "launchSession_targetArch" = arm64;
  "operation_duration_ms" = 4382;
  "operation_errorCode" = 64;
  "operation_errorDomain" = NSPOSIXErrorDomain;
  "operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher;
  "operation_name" = IDERunOperationWorkerGroup;
  "param_consoleMode" = 0;
  "param_debugger_attachToExtensions" = 0;
  "param_debugger_attachToXPC" = 1;
  "param_debugger_type" = 3;
  "param_destination_isProxy" = 0;
  "param_destination_platform" = "com.apple.platform.iphonesimulator";
  "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" = 0;
  "param_launcher_substyle" = 0;
  "param_runnable_appExtensionHostRunMode" = 0;
  "param_runnable_productType" = "com.apple.product-type.application";
  "param_runnable_type" = 2;
  "param_testing_launchedForTesting" = 0;
  "param_testing_suppressSimulatorApp" = 0;
  "param_testing_usingCLI" = 0;
  "sdk_canonicalName" = "iphonesimulator16.1";
  "sdk_osVersion" = "16.1";
  "sdk_variant" = iphonesimulator;
}
--


System Information

macOS Version 13.0 (Build 22A380)
Xcode 14.1 (21534.1) (Build 14B47b)
Timestamp: 2022-11-08T00:17:27+03:00
![]("https://developer.apple.com/forums/content/attachment/c0dd934d-659a-48f3-bc8f-209f83e1edd0" "title=Ekran Resmi 2022-11-08 00.17.33.png;width=900;height=809")

It works for me: 1.Unistall Xcode 2.Reinstall Xcode

For me what worked was to quit Xcode and restart my PC. which was bought 1 hour ago, with my Xcode freshly installed. So I got ****** that my new environment got something wrong so quick. I saw many posts saying Apple's developer tools are declining in quality and reliability. I didn't know as a noob, but now I am beginning to agree more and more. LOL.