None of C++ library API haven't executed their functionality from swift lang program

I have a SimpleFirewall app in swift language and I have C++ library in my MacBook Pro. I have couple of APIs as part of C++ libraries. One of API is message logging API also.

I have called APIs in library from my SimpleFirewall app and have linked C++ library to my SimpleFirewall app with help bridge header wrapper file. All are compiled well.

After running my simplefirewall app, None of C++ library API (even file logging API also) haven't executed their functionality even though APIs are invoked from my simplefirewall swift program.

What may be the possible reason? Please help me.
One more thing, Here I have called C++ APIs and I have linked/added library to SimpleFirewallExtension target in SimpleFirewall app.
Following is output when I run nm command on SimpleFirewallExtension target binary.


0000000100004c01 T NetopsFilterCommsExit
0000000100004b9f T
NetopsFilterCommsInit
0000000100004f2c T _ZN15NetopsControl19NetopsControlExitEv
0000000100004e16 T
ZN15NetopsControl19NetopsControlInitEv
0000000100004ed6 T
ZN15NetopsControlC1Ev
0000000100004dd2 T
ZN15NetopsControlC2Ev
0000000100004f5a T
ZN15NetopsControlD1Ev
0000000100004ee0 T
ZN15NetopsControlD2Ev
0000000100004a0e T
ZN27NetopsKernelModuleAdapter15SendNetOpsEventEPviP18netopsreturninfo
00000001000049ee T
ZN27NetopsKernelModuleAdapterC1Ev
00000001000049da T
ZN27NetopsKernelModuleAdapterC2Ev
0000000100004a08 T
ZN27NetopsKernelModuleAdapterD1Ev
0000000100004a02 T
ZN27NetopsKernelModuleAdapterD2Ev
0000000100007630 S
m_NetopsCtr


If I call the C++ APIs and If I link to console swift program, then running successfully. But I am facing the issues with SimpleFirewallExtension if I do same. Please help me.
None of C++ library API haven't executed their functionality from swift lang program
 
 
Q