It seems we need to do things as follow
Add a extension target
2.use app group to share data between host app and extension
3.the content that extension print will not occur on the console unless you attach the process to it. You can also try notification
I am also working on it. Good luck.
Topic:
App & System Services
SubTopic:
General
Tags: