groue / GRMustache.swift

Flexible Mustache templates for Swift
http://mustache.github.com/
MIT License
594 stars 155 forks source link

Fail to execute testing on Xcode 14.0 #84

Closed fumito-ito closed 1 year ago

fumito-ito commented 1 year ago

On Xcode 14.0, executing test fails every time. Followings are log detail. On Xcode 13.3.1, everything goes well.

**Details**

Process spawn via launchd failed.

Domain: NSPOSIXErrorDomain

Code: 22

Failure Reason: Invalid argument

User Info: {

    DVTErrorCreationDateKey = "2022-09-17 02:48:34 +0000";

    IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;

    Session = "com.apple.CoreSimulator.SimDevice.7283EAE1-17BE-499F-9A59-9ADADE294882";

}

--

The operation couldn’t be completed. (Mach error 22 - (os/kern) invalid host)

Domain: NSMachErrorDomain

Code: 22

--

Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {

    "device_model" = "iPhone14,2";

    "device_osBuild" = "16.0 (20A360)";

    "device_platform" = "com.apple.platform.iphonesimulator";

    "launchSession_schemeCommand" = Test;

    "launchSession_state" = 1;

    "launchSession_targetArch" = arm64;

    "operation_duration_ms" = 6;

    "operation_errorCode" = 22;

    "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" = 0;

    "param_diag_allowLocationSimulation" = 1;

    "param_diag_checker_tpc_enable" = 0;

    "param_diag_gpu_frameCapture_enable" = 3;

    "param_diag_gpu_shaderValidation_enable" = 0;

    "param_diag_gpu_validation_enable" = 1;

    "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" = 0;

    "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.tool";

    "param_runnable_type" = 1;

    "param_testing_launchedForTesting" = 1;

    "param_testing_suppressSimulatorApp" = 0;

    "param_testing_usingCLI" = 0;

    "sdk_canonicalName" = "iphonesimulator16.0";

    "sdk_osVersion" = "16.0";

    "sdk_variant" = iphonesimulator;

}

--

System Information

macOS Version 12.5 (Build 21G72)

Xcode 14.0 (21335) (Build 14A309)

Timestamp: 2022-09-17T11:48:34+09:00
fumito-ito commented 1 year ago

It's fixed by reboot. for more detail, see https://developer.apple.com/forums/thread/713880.