Skip to content
Discussion options

You must be logged in to vote

hello @panwar001, try adding agvtool new-version -all $(($BUILD_NUMBER + 1)) command which is responsible for increasing the version number in your Xcode project.

Add it before the flutter build ipa command

- name: Flutter build ipa and automatic versioning
   script: |
       agvtool new-version -all $(($BUILD_NUMBER + 1))
       flutter build ipa --release

Also make sure that Info.plist file has the following string along with their key values

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

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@panwar001
Comment options

Answer selected by panwar001
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants