NealK is damn right, just found out that if you don't uncheck the already checked option of Managing Version and Build Number and your archive's build number doesn't meet app store connect requirements then apple will change the version and build number automatically.
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags: