Unable to launch application invalid signature

The operation couldn’t be completed. Unable to launch "application" because it has an invalid code signature, inadequate entitlements or its profile has not been explicitly trusted by the use.

Cannot find application from VPN and device management.

Created new team and with it I can find it on VPN and device management. Why I cannot find it on my main team? Also it worked before I updated to iOS 15.

How to fix this?

Xcode version: 13 iOS version: 15

Paid developer account

Unable to launch application invalid signature
 
 
Q