How to show in the subtitle of the Communication Notification?

I build APNs but It show me the logs

I guess THERE might be some permissions I haven't configured

LaunchServices: store (null) or url (null) was nil: Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=264, _LSFunction=-[_LSDReadClient getServerStoreWithCompletionHandler:]} 2021-10-15 19:01:24.734879+0800 CodeNotificationExtension[28603:929180] [default] Attempt to map database failed: permission was denied. This attempt will not be retried. 2021-10-15 19:01:24.734947+0800 CodeNotificationExtension[28603:929180] [db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=264, _LSFunction=-[_LSDReadClient getServerStoreWithCompletionHandler:]} 2021-10-15 19:01:24.735022+0800 CodeNotificationExtension[28603:929180] [Intents] +[INAppInfo appInfoWithAppProxy:] Unable to create app info with application record: Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=264, _LSFunction=-[_LSDReadClient getServerStoreWithCompletionHandler:]}

Answered by wjd_by in 691522022

look Of the previous question https://developer.apple.com/forums/thread/691953

// recipients count > 1 
let incomingMessagingIntent = INSendMessageIntent(recipients: [mePerson,senderPerson], outgoingMessageType: .unknown, content: "Test", speakableGroupName: INSpeakableString(spokenPhrase: "Test Group"), conversationIdentifier: "Test Group", serviceName: "Test", sender: senderPerson, attachments: nil)
//  ParameterNamed is speakableGroupName
incomingMessagingIntent.setImage(avatar, forParameterNamed: \.speakableGroupName)
code-block
Accepted Answer

look Of the previous question https://developer.apple.com/forums/thread/691953

// recipients count > 1 
let incomingMessagingIntent = INSendMessageIntent(recipients: [mePerson,senderPerson], outgoingMessageType: .unknown, content: "Test", speakableGroupName: INSpeakableString(spokenPhrase: "Test Group"), conversationIdentifier: "Test Group", serviceName: "Test", sender: senderPerson, attachments: nil)
//  ParameterNamed is speakableGroupName
incomingMessagingIntent.setImage(avatar, forParameterNamed: \.speakableGroupName)
code-block
How to show in the subtitle of the Communication Notification?
 
 
Q