Framework compilation with Command CodeSign failed with a nonzero exit code

I am trying to extract a protocol from an app to be able to use it in a siri intent. Yet when I compile it I get:

note: Injecting stub binary into codeless framework (in target 'Virtual Tags Framework' from project 'Virtual Tags Framework') /Users/fabriziobartolomucci/Library/Developer/Xcode/DerivedData/Virtual_Tags_Framework-chxutmulwgujeiceazyyzaphwner/Build/Products/Debug-iphonesimulator/Virtual_Tags_Framework.framework/Frameworks/ARKit.framework/Versions/A: bundle format unrecognized, invalid, or unsuitable Command CodeSign failed with a nonzero exit code

Framework compilation with Command CodeSign failed with a nonzero exit code
 
 
Q