Has anyone figured out how to create a CNContainer in an iOS device?

Apple Documentation says that there is only one CNContainer in an iOS device of type local. Creating a container of type exchange requires using Exchange, and creating a container of type cardDAV requires a server also. Is there any way to create a container of type unassigned? I would need to do this programmatically in Swift to use in my iOS app.

This question and the posts it mentions give no answer.

Hi, did you happen to find a solution?

saveRequest.add(contact, toContainerWithIdentifier: CNContactStore().defaultContainerIdentifier())

Im getting an error when trying to add a new contact on Ventura 13.0.1 (22A400) The error is 2022-12-03 09:33:54.543143+1000 **** [1941:15105] [api] Attempt to write notes by an unentitled app 2022-12-03 09:33:54.580714+1000 **** [1941:15105] [plugin] CDX_AB_GetGroupCollectionPath: nil group 2022-12-03 09:33:54.580765+1000 **** [1941:15105] [plugin] CDX_AB_GetGroupCollectionPath: nil group 2022-12-03 09:33:54.581969+1000 **** [1941:15105] [ABCDContact] An ABCDRecord is being saved without having a container assignment. Assigning the contact to <CNCDContainer 0x6000013c92c0 ab>. Please remember to assign contacts to containers to avoid recurring container lookup and contact re-validation costs.

I waited weeks for notes field access as well and it hasn't seamed to fix the issue.

Has anyone figured out how to create a CNContainer in an iOS device?
 
 
Q