-
If you are looking for help, please confirm the following...
Which mobile framework are you using?Flutter (Dart) Steps to reproduceI was previously able to build and publish my flutter app to TestFlight, but then I needed to have "Sign with Apple" as a login option. I re-created a Provisioning Profile and Certificate in my Apple Developer Account To have the "Sign with Apple" and have uploaded to CodeMagic. I have also set the codemagic workflow to use my codemagic.yaml file and it successfully gets through all the build steps: I am only deploying to iOS no other platform. The actual error is below in the "Actual Results" No matter what I try with codemagic.yaml and my project.pbxproj file with all the settings and configurations it refuses to publish it to the test flight, since the archive fails. Expected resultsdeployed to TestFlight Actual results** ARCHIVE FAILED ** The following build commands failed: ** EXPORT FAILED ** Build id (optional)685ab1f8aa1e8fdda52aa9fa |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hello @pfrank73, I went through the logs of this build and can see this failed because you weren't configuring code signing properly. In your recent team builds, it seems this has been resolved, but the is still not generated, making reference to build ID - 685bb711b7c53299a0b69da5. Since you are building a flutter app, can you please use the same command as previously (when you had successful builds). I mean use:
in place of the Archive with xcodebuild and Export archive steps. You can check here for more details |
Beta Was this translation helpful? Give feedback.
-
Hi Damilola,
Thanks, I have checked and my bundle identifier is correct everywhere
that it exists in my flutter project: com.syntrac.flutter.beams
I have removed the pre-build script and now it faisal during Building iOS
It is really frustrating since it is just a basic flutter app, the only
entitlement it has is "Sign-in with Apple"
Why is it so difficult to get a build through? But I do appreciate all your
help.
Kind Regards,
*Peter Frank*
1/41 Middle Road
Maribyrnong 3032
Victoria, AUSTRALIA
Mobile : +61 (0)403 214-434
Linked In : Profile <http://www.linkedin.com/pub/peter-frank/1/292/916>
Skype : pfrank73
*"I read it on the internet, so it must be true!"*
…On Mon, Jun 30, 2025 at 11:01 PM Damilola Alimi ***@***.***> wrote:
@pfrank73 <https://github.com/pfrank73> I checked through your team
builds now and I see that recent builds fail, making reference to the build
with ID - 6861d16e7a5802fa36649039. Please can you take out the pre-build
script you currently have, and also, double-check in your project that the
bundle ID in the project corresponds with that of the profile you uploaded.
Kindly search every occurrence of bundle ID in your project.
—
Reply to this email directly, view it on GitHub
<#3157 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOEH3CESHTMQZG5QJOKVYJT3GEYLDAVCNFSM6AAAAACABYZ7DGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNRRG44DQMQ>
.
You are receiving this because you were mentioned.Message ID:
<codemagic-ci-cd/codemagic-docs/repo-discussions/3157/comments/13617882@
github.com>
|
Beta Was this translation helpful? Give feedback.
Hey @pfrank73,
Probably some configuration issues in your project here. I see a different error message in your last build now
You should reproduce this locally as well, can you please check the suggested solutions in this thread