-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
iOS Signing on macOS13 pipeline: error: exportArchive: No Accounts - exportArchive: No profiles for <bundleID> were found #119
Comments
Also having issues on my side, on both 12 and 13 at the moment I think, if it's really 13 related, it's bad because I think it's required to target iOS 17. |
Hi @TobiasHanitsch @Soap-141 can you please go through these links. I can't help much here as I do not have access to a devops account and neither to a Mac. It could be that there might be a version mismatch on the hosted agents in XCode or MacOS. Could you verify that with your local versions where you could build the IPA. Usually the profile not found comes when the pipeline for some reason can't find the downloaded profile. But, if you say you had those and this error is different it could be the reason
|
+1. I have repeated the whole process of creating the certificates a few times and still the same issue. |
Can anyone of you check if the XCode, MacOS and related versions are same on the hosted pipeline and your local machines? |
We started seeing issues with the provisioning profile in our pipeline after going from Flutter 3.16 to 3.19. What versions of Flutter are you all using that are seeing issues? |
Does it build on previous Flutter versions on the hosted agents for you? If that's the case I will recommend you to create an issue on Flutter's Repo and tag this issue over there for reference. |
I am also experiencing this issue. I tried downgrading the flutter version to 3.16.9 to see if that resolved the issue. It does not. I am now seeing this with Flutter 3.19.5 and 3.16.9. Started happening when going from macOS-12 to macOS-13. |
Adding this here to see if it helps for debugging. Locally, I am running Xcode 15.3. On Azure VM macOS-13 the highest Xcode version available is Xcode 15.2 as shown here: https://github.com/actions/runner-images/blob/main/images/macos/macos-13-Readme.md. Could this be an Xcode issue that was subsequently resolved in Xcode 15.3? |
We had the issue in multiple flutter projects and were able to resolve it in both by doing the following changes: File: project.pbxproj (note the quotes) File: ExportOptions.plist File: azure-pipelines.yaml |
I got it, I don't remember exactly what it was but it's not your package. |
Thanks everyone 👍🏼 |
In my case I had a line in my project.pbxproj. Under release XCBuildConfiguration I had a line defined "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";. I just replaced "iPhone Developer" with "" (empty string) and then it worked. Because the signing identity was development and the config was run on distribution it conflicted in the build. |
Hi!
We are building an iOS Flutter app in an Azure DevOps Pipelines. The pipeline consists of: Using the Microsoft-provided tasks to install the signing certificate and provisioning profile after uploading these files into the DevOps project. Then, we insert their UUID and Signing identity into our configs (4 flutter environment variables, such as "FLUTTER_XCODE_CODE_SIGN_IDENTITY" and the exportOptions.plist file) and finally we install Flutter and build the app into an IPA file.
This used to work well and would generate a working IPA while we were working on Microsoft's MacOS12 pipeline agents. Now we upgraded to MacOS13 and because of this single change, the build fails with the following error:
I am aware that this seems similar to other common signing issues (that I had a ton of already too) but this is decidedly different in my eyes and I am unable to fix it. The fact that it works perfectly on macOS12 but not on macOS13 is also very curious.
Since we are using official Microsoft hosted agents, we can check their pre-installed software on their "Microsoft-hosted agents" documentation page. We tried using xCode 15.2 instead of the default 15.0.1 version, but it didn't change anything.
We are using an "Enterprise" apple developer account. The same certificate and other provisioning profiles that were generated in the exact same way work for other apps.
We tried generating a completely new cert and profile carefully, but it didn't change anything either.
The installation of both the cert and profile seems to work successfully and completely.
I also contacted Apple support about this in hopes of more details.
This is our exportOptions.plist file:
This is our pipeline:
Let me know if you require any more details.
Thank you in advance.
EDIT 21.03.2024: I also contacted Microsoft support now. No response from apple yet...
The text was updated successfully, but these errors were encountered: