All,
I created a C/C++ Console App, and a skeletal NetworkExtension target.
I found from internet that there are somways ( albiet undoc ) to invoke swift routines from C App, and it works.
What I need ---
a) Should be able to invoke a swift function from C, like before. But that function would be in the extension. It does not matter if the extension is in objective-C.
When I defined the swit func in main.swift of NetworkExtension, I get a link error.... So how do EXPORT these to command line App?
Is there a way to launch such system extension like App has embedding under Library section ? Or what do I need to do ?
Thanks,
Prokash