I'm having this same issue and it's extremely frustrating.
I use App Groups to share UserDefaults data between my host app and RichNotification extension.
On iOS 17.5.1 and Xcode 15.3.
Couldn't read values in CFPrefsPlistSource<0x10b6bb7a0> (Domain: GROUP_NAME, User: kCFPreferencesAnyUser, ByHost: Yes, Container: (null), Contents Need Refresh: Yes): Using kCFPreferencesAnyUser with a container is only allowed for System Containers, detaching from cfprefsd
How to find appropriate solution for this crash?