XCode archive outputs the old build

Hi Im using Xcode 13 and MacOS Monterey.

  1. When I'm running on debug it displays the correct build. (the current version 1.1)
  2. But, when I'm archiving the project, the build was version 1.0
  3. But on the app it shows 1.1 on version number

What I already did

  • clean the build folder
  • delete the derived folder
  • delete all the archived folder
  • pod deintegrate and pod upgrade

Are there any possible solutions?

XCode archive outputs the old build
 
 
Q