Set the Folder Path of OCR Models Before Using OCR
In ComDocumentAIKit.framework, select ComDocumentAIKit and right-click to show the original project. From there, navigate to the Resources folder and move the CDocumentAIResource.bundle file to Build Phases -> Copy Bundle Resources.