This issue happens for chained dependencies. Suppose you have App -> A.framework -> B.framework. If you change B's target OS version and rebuilt B, this error occures.
The solution is to rebuilt A as well.
Of course, if you don't have the source code of A, you will have to revert to the old version of B
from iOS developer @ authing