SPM - Problem to compile

Hi, I am a developer working in a bank swift library that uses Chilkat iOS am. Currently, the library can be installed by Cocoapods. The podspec have these lines to let their installation:

s.source_files = ['Project/Classes/**/*', 'Project/Libs/ios-chilkat/include/**/*.h']
s.vendored_frameworks = ['Project/Libs/ios-chilkat/libchilkat.xcframework']
s.pod_target_xcconfig = { 'OTHER_LDFLAGS' => ['-lresolv', '-lpthread', '-lstdc++'] }
s.dependency 'Alamofire', '~> 4.9.1'
s.dependency 'Dynatrace', '~> 8.215'

Now I have to make the library compatible with Swift Package Manager, by I can't achive it. When my library is imported, the "Cko**" classes are not recognized.

the package.swift have these lines:

.target(
            ...
            dependencies: [
                "Alamofire",
                "libchilkat",
                .product(name: "Dynatrace", package: "swift-mobile-sdk", condition:
                .when(platforms: [.iOS]))
            ],
            path: "Project",
            sources: [
                "Classes/.",
                "Libs/chilkat-ios/include/."
            ]
        )
        ...

I've been trying for a week now, what can I do?

SPM - Problem to compile
 
 
Q