Post

Replies

Boosts

Views

Activity

Reply to Desktop Widget can not be found in Widget Center
SendProcessControlEvent:toPid: encountered an error: Error Domain=com.apple.dt.deviceprocesscontrolservice Code=8 "Failed to show Widget 'com.jiduauto.iphone.jdcomiphoneWidget' error: Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedDescription=The request to open "com.apple.springboard" failed., NSLocalizedFailureReason=Unexpected error type., NSUnderlyingError=0x600001ae0c90 {Error Domain=BSServiceConnectionErrorDomain Code=3 "XPC error received on message reply handler" UserInfo={BSErrorCodeDescription=OperationFailed, NSLocalizedFailureReason=XPC error received on message reply handler}}, BSErrorCodeDescription=InvalidResponse}." UserInfo={NSLocalizedDescription=Failed to show Widget 'com.jiduauto.iphone.jdcomiphoneWidget' error: Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedDescription=The request to open "com.apple.springboard" failed., NSLocalizedFailureReason=Unexpected error type., NSUnderlyingError=0x600001ae0c90 {Error Domain=BSServiceConnectionErrorDomain Code=3 "XPC error received on message reply handler" UserInfo={BSErrorCodeDescription=OperationFailed, NSLocalizedFailureReason=XPC error received on message reply handler}}, BSErrorCodeDescription=InvalidResponse}., NSUnderlyingError=0x600001ae1320 {Error Domain=FBSOpenApplicationServiceErrorDomain Code=5 "The request to open "com.apple.springboard" failed." UserInfo={NSLocalizedDescription=The request to open "com.apple.springboard" failed., NSLocalizedFailureReason=Unexpected error type., NSUnderlyingError=0x600001ae0c90 {Error Domain=BSServiceConnectionErrorDomain Code=3 "XPC error received on message reply handler" UserInfo={BSErrorCodeDescription=OperationFailed, NSLocalizedFailureReason=XPC error received on message reply handler}}, BSErrorCodeDescription=InvalidResponse}}} Domain: DTXMessage Code: 1 User Info: { DVTErrorCreationDateKey = "2024-02-26 02:33:05 +0000"; } System Information macOS Version 13.5.2 (Build 22G91) Xcode 15.0 (22265) (Build 15A240d) Timestamp: 2024-02-26T10:33:05+08:00
Feb ’24
Reply to Returning a type from an Intent (basics)
func perform() async throws -> some IntentResult & ReturnsValue { let msg: String = await JDSiriKitShortCutsManager.handleShortCut(type: type ?? .flashLid) JDSirikitShortCutView(msg: msg)) return .result(value: "xvnkzjdfnkvdknfbnjknxdkvn") } AppIntents/PerformActionExecutorTask.swift:298: Fatal error: perform() returned types not declared in method signature Did not declare ReturnsValue but provided one
Sep ’24
Reply to AppIntents/PerformActionExecutorTask.swift:298: Fatal error: perform() returned types not declared in method signature - Did not declare ReturnsValue but provided one
func perform() async throws -> some IntentResult & ProvidesDialog & ReturnsValue { let msg: String = await JDSiriKitShortCutsManager.handleShortCut(type: type ?? .flashLid) let dialog = IntentDialog.responseSuccess(msg: msg) return .result(value: msg, dialog: dialog) } AppIntents/PerformActionExecutorTask.swift:298: Fatal error: perform() returned types not declared in method signature Did not declare ProvidesDialog but provided one Did not declare ReturnsValue but provided one
Sep ’24