I want to embed a 3rd party SDK with a network extension into my project. The network extension is signed by the company which is providing this SDK. I distribute my app outside of MAS and so I send it for notarisation every time. As I understand everything which is embedded in my app should be signed with my developer profile. So how do I sign that network extension? I usually sign 3rd party libraries executing the command:
codesign --force --deep --timestamp --sign "My profile name" pathToLibrary
But if I do this with the network extension it still has wrong embedded profile in it. And as I understand the network extension's bundle ID should match with bundle id in my profile.
Please help me understand how to use 3rd party network extension to be able to distribute my app.