Integrate the static lib to iOS capacitor plugin

I want to integrate the static lib to capacitor. I have a .a file and some .h file, could you please provide the solution how to integrate these file into my iOS capacitor plugin?

It is a little more involved hence why we don’t have a guide. You would need to include the static libraries into your .xcworkspace, link them via an Objective-C linker flag, and then write your Capacitor plugin as normal. This Apple Developer Forum Post has more info

Capacitor plugins are CocoaPods libraries, so you can add a .a file by using vendored_library/vendored_libraries in your .podspec file