How to properly set application version?

Sorry, -here’s the correct link: How can you manually set the build number for iOS build?