-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduceI keep getting the error below and I also see this in the Codemagic UI when deploying to Testflight Error: I tried running this command to see if I could retrieve info from the appstore Command: This script is meant to fetch the latest build number from app store connect and increment by 1 Script Would appreciate feedback, thank you. Expected resultsIt should push the build to testflight but fails with an error. Actual results"message": "The provided entity includes an attribute with a value that has already been used" Build id (optional)No response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
Hey @demolaf, you can use this command for building your flutter ipa file and
or instead of fetching the lastest uploaded version from app store you can use the built-in env variable
Here's the step-by-step flutter guide you can check. |
Beta Was this translation helpful? Give feedback.
-
I'm tentatively closing the discussion since we haven't heard back from you. You can open the discussion again by replying to this message or opening a new discussion. |
Beta Was this translation helpful? Give feedback.
hey @demolaf it's failing because of this error
The provided entity includes an attribute with a value that has already been used
The issue is that you are hardcoding the build name using
--build-name=0.0.1
and that value, like the error message suggest, has already been utilized.Try to use it like I suggested above. This way, you can avoid conflicts with previously used build names.