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
Topic: App & System Services SubTopic: General Tags:
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
Topic: App & System Services SubTopic: General Tags:
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
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
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Feb ’24
Reply to WatchOS accessoryInline类型的Widget 不展示自定义png图片
https://developer.apple.com/documentation/uikit/uiimage/creating_custom_symbol_images_for_your_app#3875972 https://developer.apple.com/documentation/uikit/uiimage/configuring_and_displaying_symbol_images_in_your_ui
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’24
Reply to WatchOS accessoryInline类型的Widget 不展示自定义png图片
使用UIImage加载图片
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Apr ’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
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
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
Replies
Boosts
Views
Activity
Sep ’24
Reply to Found 17 App Shortcuts, each app may have at most 10 App Shortcuts
how to do can like Tesla Application, show more than ten shortcuts in system shortcuts application
Replies
Boosts
Views
Activity
Sep ’24