simply change NSNotification.Name.AVPlayerItemDidPlayToEndTime to AVPlayerItem.didPlayToEndTimeNotification
Post
Replies
Boosts
Views
Activity
same issue with xcode 15 (ios 17)
simulator logs:
Invalid device state
Domain: com.apple.CoreSimulator.SimError
Code: 405
User Info: {
DVTErrorCreationDateKey = "2023-09-20 06:30:22 +0000";
IDERunOperationFailingWorker = IDELaunchiPhoneSimulatorLauncher;
SimCallingSelector = "installApplication:withOptions:error:";
}
The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)
Domain: NSMachErrorDomain
Code: -308
Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
"device_model" = "iPhone15,4";
"device_osBuild" = "17.0 (21A328)";
"device_platform" = "com.apple.platform.iphonesimulator";
"dvt_coredevice_version" = "348.1";
"dvt_mobiledevice_version" = "1643.2.4";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 21567;
"operation_errorCode" = 405;
"operation_errorDomain" = "com.apple.CoreSimulator.SimError";
"operation_errorWorker" = IDELaunchiPhoneSimulatorLauncher;
"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.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" = 0;
"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" = 0;
"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_structuredConsoleMode" = 1;
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphonesimulator17.0";
"sdk_osVersion" = "17.0";
"sdk_variant" = iphonesimulator;
}
System Information
macOS Version 13.5.2 (Build 22G91)
Xcode 15.0 (22265) (Build 15A240d)
Timestamp: 2023-09-20T11:30:22+05:00
@silashayri this does not help.
This crash still happens on iOS 16.3.1, I also use AVPlayerLayer. Is there any workaround to fix this? Or we should wait for fix on next ios update?
Issue still happens on ventura 13.2 + xcode 14.2, in rosetta mode and in non-rosetta mode. Re-login apps in the terminal and restart the machine doesn't help.
@apple pls help
having the same issue on m1pro + xcode 14.2. @apple please help!
Have the same problem after updating to xcode 14. Still happens in 14.2
Is there any help from apple engineers ?