Moving Safari Web Extension into dedicated framework

I am currently refactoring my multi-platform app as it starts growing rapidly. To properly manage my unit tests and keep the app building blocks easy to maintain, I am leveraging frameworks. I was stumbling upon the Safari Web Extension target that my multi-platform app uses.

Is it generally feasible to move the Safari Web Extension code and targets into a dedicated framework? If yes, will it require tricks for code signing before publishing it to the App Store?

Thanks for your insights and thoughts.

Moving Safari Web Extension into dedicated framework
 
 
Q