Closed christiankm closed 3 years ago
Hi @christiankm! Sorry to hear about the issue. Have you tried regenerating the API key yet? I've seen a similar situation, where the issue turned out to be that the API key was generated in a bad state, and regenerating the key helped.
What API key is this exactly, that you refer to? I tried to disconnect, and reconnect my Apple Account in Bitrise settings, and generating a new App Store Connect with Admin right while doing so. But it seems it does not find the Content Provider ID although this IS correct, as far as i can see.
I see two different team id's in the log and i wonder if that has anything to do with this issue.
Hi @christiankm, this API key is what you have to use as the method of connecting your account to use this step. What you are describing sounds like you're referring to the older, deprecated method of session based authentication, but this repo and the log snippet is using a new method available in the same place.
This is blogpost describes it well: https://blog.bitrise.io/app-store-connect-api-on-bitrise
This blogpost is exactly what I have followed. It’s just not working for me (anymore).
Christian
Den 3. aug. 2020 kl. 12.10 PM skrev Bence Kubik notifications@github.com:
Hi @christiankm, this API key is what you have to use as the method of connecting your account to use this step. What you are describing sounds like you're referring to the older, deprecated method of session based authentication, but this repo and the log snippet is using a new method available in the same place.
This is blogpost describes it well: https://blog.bitrise.io/app-store-connect-api-on-bitrise
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
I understand, hope this helps clear up the API key in reference. In case this used to work that sounds like it might be different, but we'll need a build URL and Support User access (can be turned on in the Settings of an app) to be able to investigate this.
I understand, hope this helps clear up the API key in reference. In case this used to work that sounds like it might be different, but we'll need a build URL and Support User access (can be turned on in the Settings of an app) to be able to investigate this.
Sounds great. I have enabled support user access. This is the latest failing build: https://app.bitrise.io/build/57487b8a7a92f799#?tab=log
Thank you!
Sure thing! Can you direct us to a specific build where this was working? I see successful builds in the past but none of them had this step yet. Thanks!
Yeah you’re right. I see now I never got it working for me with this step. Last thing I had working was manually installing certificates.
Den 3. aug. 2020 kl. 13.22 skrev Bence Kubik notifications@github.com:
Sure thing! Can you direct us to a specific build where this was working? I see successful builds in the past but none of them had this step yet. Thanks!
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bitrise-steplib/steps-ios-auto-provision-appstoreconnect/issues/14#issuecomment-667967606, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3VI3TR6OYU6QMFRJUZAXLR62MXZANCNFSM4POS4FMQ.
I see! Can you or have you tried to regenerate the API key?
I am not sure.
However now I have reverted my workflow config to use the older implementation and install certificates outside of automatic management, (like my last successful build).
Now my CI works again. I think I will leave it like this until this method really gets retired, or until some updates have come to the build steps :)
Thanks for your help so far!
Den 4. aug. 2020 kl. 09.09 skrev Bence Kubik notifications@github.com:
I see! Can you or have you tried to regenerate the API key?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bitrise-steplib/steps-ios-auto-provision-appstoreconnect/issues/14#issuecomment-668421846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA3VI3UJC5MQQNC6M55A4G3R66XZTANCNFSM4POS4FMQ.
Hello there, I'm a bot. On behalf of the community I thank you for opening this issue.
To help our human contributors focus on the most relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 90 days, so I marked it as stale.
The community would appreciate if you could check if the issue still persists. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me".
If no comment left within 21 days, this issue will be closed.
I'll close this issue as it doesn't seem to be relevant anymore. We believe an old issue probably has a bunch of context that's no longer relevant, therefore, if the problem still persists, please open a new issue.
Hi there,
I was using Bitrise to archive and export my app on build to App Store TestFlight.
After the "recent" change in App Store Connect APIs to fix the 2FA problems, I setup this build step instead, and I THINK it worked in the beginning, but after some time it stopped working, and I could not get past the error below.
Any help is most appreciated. I have tried to recreate certificates and profiles, and they are uploaded to Bitrise. Local builds and exports are running just fine, so im having to use that for now, but obviously this is not ideal.
I have no idea whether its some settings inside App Store Connect, or Bitrise, or perhaps Xcode that I need to fix. I reached out to Apple Developer Support but they would not help, and told to contact Bitrise, or the step developer.
Please help.
Thank you for your work!