skip to Main Content

I have an application in which I want to upload it to testflight, before that the:
version 1.0
build 1.0
now I have an update and when I change it to:
version 1.0
build 1.1
it uploads successfully, but in appstoreconnect, it is processing and after finishing, there is nothing showed as build 1.1, why?!

upvoting my question would be appreciated.

2

Answers


  1. To update the version for the ios build, follow the following steps.

    1. Change the version from pubspec.yaml file, as version: 1.1.0+1

    2. Open the ios folder in Xcode and change the version, as
      enter image description here

    1. Close Xcode and run the following commands in the terminal. flutter clean, flutter pub get, cd ios,

    2. For Mac M1 arch -x86_64 pod install --repo-update

      For Mac Intel pod install --repo-update

    and then archive again.

    Must check the version of the newer build from the Organizer Window which will automatically open after successful build or you can open the organizer by pressing Command + Option + Shift + O

    Login or Signup to reply.
  2. To control for version and build number there is two way

    1. First one from xCode you can change version and build make sure this below code info.plist

      <key>CFBundleVersion</key>
      <string>$(CURRENT_PROJECT_VERSION)</string>
      
      <key>CFBundleShortVersionString</key>
      <string>$(MARKETING_VERSION)</string>```
      
      
    2. Second if you want use version and build number in yaml file make sure below code in info.plist

      <key>CFBundleVersion</key>
      <string>$(FLUTTER_BUILD_NUMBER)</string>
      
      <key>CFBundleShortVersionString</key>
      <string>$(FLUTTER_BUILD_NAME)</string>
      
      

    Note

    CFBundleShortVersionString refer to version
    CFBundleVersion refer to build number

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search