sudo codesign --force --deep --sign - /Applications/NewApp.app
sudo codesign --force --sign - /Applications/NewApp.app/Contents/MacOS/NewApp
Im storing this because sometimes when i installed new updates on unverified apps i have to resign the code to allow it on any permission with tccp. This will be updated later with description, and with related cases.