title: iOS 16 Simulator: Running an app in the simulator results in an "xpc Error"
body: <p>After updating to macOS 13.0 Beta and installing Xcode 14.0 Beta we run an app where we set the target os to 16. The following error occurs:</p>
  <p><a href="https://i.stack.imgur.com/VS8AA.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/VS8AA.jpg" alt=" " /></a></p>
  <p>The iPhones simulators won't start either when started manually:</p>
  <p><a href="https://i.stack.imgur.com/jUqjo.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jUqjo.png" alt="enter image description here" /></a></p>
  <p>Here the detailed error message describing the issue:</p>
  <pre><code>Details
  
  The operation couldn’t be completed. xpc error
  Domain: NSPOSIXErrorDomain
  Code: 64
  Failure Reason: xpc error
  User Info: {
      DVTErrorCreationDateKey = &quot;2022-06-17 16:19:12 +0000&quot;;
      IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
  }
  --
  
  Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
      &quot;device_model&quot; = &quot;iPhone14,3&quot;;
      &quot;device_osBuild&quot; = &quot;16.0 (20A5283p)&quot;;
      &quot;device_platform&quot; = &quot;com.apple.platform.iphonesimulator&quot;;
      &quot;launchSession_schemeCommand&quot; = Run;
      &quot;launchSession_state&quot; = 1;
      &quot;launchSession_targetArch&quot; = &quot;x86_64&quot;;
      &quot;operation_duration_ms&quot; = 44430;
      &quot;operation_errorCode&quot; = 64;
      &quot;operation_errorDomain&quot; = NSPOSIXErrorDomain;
      &quot;operation_errorWorker&quot; = IDELaunchiPhoneSimulatorLauncher;
      &quot;operation_name&quot; = IDERunOperationWorkerGroup;
      &quot;param_consoleMode&quot; = 0;
      &quot;param_debugger_attachToExtensions&quot; = 0;
      &quot;param_debugger_attachToXPC&quot; = 1;
      &quot;param_debugger_type&quot; = 3;
      &quot;param_destination_isProxy&quot; = 0;
      &quot;param_destination_platform&quot; = &quot;com.apple.platform.iphonesimulator&quot;;
      &quot;param_diag_MainThreadChecker_stopOnIssue&quot; = 0;
      &quot;param_diag_MallocStackLogging_enableDuringAttach&quot; = 0;
      &quot;param_diag_MallocStackLogging_enableForXPC&quot; = 1;
      &quot;param_diag_allowLocationSimulation&quot; = 1;
      &quot;param_diag_gpu_frameCapture_enable&quot; = 0;
      &quot;param_diag_gpu_shaderValidation_enable&quot; = 0;
      &quot;param_diag_gpu_validation_enable&quot; = 0;
      &quot;param_diag_memoryGraphOnResourceException&quot; = 0;
      &quot;param_diag_queueDebugging_enable&quot; = 1;
      &quot;param_diag_runtimeProfile_generate&quot; = 0;
      &quot;param_diag_sanitizer_asan_enable&quot; = 0;
      &quot;param_diag_sanitizer_tsan_enable&quot; = 0;
      &quot;param_diag_sanitizer_tsan_stopOnIssue&quot; = 0;
      &quot;param_diag_sanitizer_ubsan_stopOnIssue&quot; = 0;
      &quot;param_diag_showNonLocalizedStrings&quot; = 0;
      &quot;param_diag_viewDebugging_enabled&quot; = 1;
      &quot;param_diag_viewDebugging_insertDylibOnLaunch&quot; = 1;
      &quot;param_install_style&quot; = 0;
      &quot;param_launcher_UID&quot; = 2;
      &quot;param_launcher_allowDeviceSensorReplayData&quot; = 0;
      &quot;param_launcher_kind&quot; = 0;
      &quot;param_launcher_style&quot; = 0;
      &quot;param_launcher_substyle&quot; = 0;
      &quot;param_runnable_appExtensionHostRunMode&quot; = 0;
      &quot;param_runnable_productType&quot; = &quot;com.apple.product-type.application&quot;;
      &quot;param_runnable_type&quot; = 2;
      &quot;param_testing_launchedForTesting&quot; = 0;
      &quot;param_testing_suppressSimulatorApp&quot; = 0;
      &quot;param_testing_usingCLI&quot; = 0;
      &quot;sdk_canonicalName&quot; = &quot;iphonesimulator16.0&quot;;
      &quot;sdk_osVersion&quot; = &quot;16.0&quot;;
      &quot;sdk_variant&quot; = iphonesimulator;
  }
  --
  
  
  System Information
  
  macOS Version 13.0 (Build 22A5266r)
  Xcode 14.0 (21257.0.0.0.22) (Build 14A5228q)
  Timestamp: 2022-06-17T11:19:12-05:00
  </code></pre>
  <p>Running the same app on a physical iPad running iPadOS 16.0 does not cause any problems.</p>