I solved in a weird way.
In xCode, go to general tab and in Target > UnityFramework > Frameworks and Libraries remove the AVFoundation.framework and add it again with the + sign...
No need to set min target to iOS 15
Now if you Archive again the package and try to submit the error is magically gone away.