Packages version in app build for AppStore publication

How to get info about the exact version that is used in a build that is going for AppStore publications? Is it one specified in "iOS Deployment Target" in Build Settings?

My iOS app is published on AppStore. And users with different iOS versions can install it (15.0, 15.1, ..., 15.5, ...). To my understanding, Apple frameworks and packages like SwiftUI, Foundation, Combine, etc. can have differences for different iOS versions.

Packages version in app build for AppStore publication
 
 
Q