-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[spaceship] Latest version is unable to download ad-hoc provision profiles. #13916
Comments
It seems like this issue might be related to code signing 🚫 Have you seen our new Code Signing Troubleshooting Guide? It will help you resolve the most common code signing issues 👍 |
Thanks @fastlane-bot! I have read the troubleshooting guide, and it doesn't solve my problem 😄 |
This and #13915 seem potentially related, at least with respect to not recognizing an existing profile of the specified type and attempting to generate a new one. |
@fwigorcferreira I am experiencing the same issue. Our build pipeline is down :) |
+1 Also just began experiencing this issue with fastlane v2.109.1 on Bitrise. Nothing changed in our project / code signing / etc. Might be an issue with Apple Dev Portal, as Bitrise is using an older fastlane version. |
@andrewtheis Are you sure it is the same bug? The version 2.111.0 release notes mentions the fix of another issue related to ad-hoc. I also have projects on Bitrise, and had to update to the latest version because of issues in the same action. |
@fwigorcferreira May not be, here's the tail end of the log with the error:
Nothing has changed in our stack/project/etc. Builds started failing around 12:48pm CT. |
@andrewtheis That exact issue was solved here and is included in the latest release It does not appear that the fix solved all potential issues with AdHoc builds though, hence this and several other issues. |
@TheMetalCode Ah, thanks for the info. Weird that it just cropped up all of a sudden though. Working around by installing latest fastlane before auto-provision. |
This looks like a issue with the Apple Developer portal including duplicate keys in provisioning profiles, causing them to be malformed and unable to be parsed. Our build pipelines down too. |
shali3@48c707c Thanks :) |
@shali3's workaround appears to be working for me too. I ran my AdHoc build job twice just to make sure it worked on successive runs, and it did. Of course, the fact that the change does break a couple existing tests, plus the appearance of this code having somewhat of a history behind it, means we'll want to make sure we know what we're doing before PR/merge/release. But for the moment, I can deploy Crashlytics builds again for the first time in the better part of a week, so I'll take the win. |
Fixed with #13945 |
New Issue Checklist
Issue Description
Fastlane, on version 2.111.0 is unable to download ad-hoc provision profiles. The command fails with
No existing profiles found, that match the certificates you have installed locally!
even if-z, --skip_certificate_verification
is passed. I double & triple checked, and the provision profile exists in the developer portal. Tried it on a machine that had the valid certificate installed, and the same error was reportedComplete output when running fastlane, including the stack trace and command used
Environment
The text was updated successfully, but these errors were encountered: