Skip to content
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 Error: Error (Xcode): No profiles for 'xxx.xxx.xxx' were found #1

Open
mannam95 opened this issue Sep 30, 2022 · 7 comments
Open

Comments

@mannam95
Copy link

I have created an ios azure pipeline based on the instructions mentioned in pipeline.yml.

I am getting the below error

Error (Xcode): No profiles for 'xxx.xxx.xxx' were found: Xcode couldn't find any iOS App Development provisioning profiles matching 'xxx.xxx.xxx'. 
Automatic signing is disabled and unable to generate a profile. To enable automatic signing, pass -allowProvisioningUpdates to xcodebuild.


It appears that there was a problem signing your application prior to installation on the device.

Can you share the file ios/exportOptions.plist mentioned in the yml file. How this file is created or is it auto-generated?

Can you please help me with this issue?

@xeladu
Copy link
Owner

xeladu commented Oct 1, 2022

Here is an article with more details about exportOptions.plist and an example that you can use. The file is required and created with XCode. Since it's project-specific, I can't provide a file that is always usable. Let me know if this helps.

@mannam95
Copy link
Author

mannam95 commented Oct 1, 2022

Unfortunately, it doesn't work for me. I think there is a problem with the azure mac agent or mac os related problem.

For some reason, the provisioning profiles are not linked to the build on XCode and they fail during CI/CD.

I have tested on codemagic and everything works without any error.

@xeladu
Copy link
Owner

xeladu commented Oct 3, 2022

Yeah, unfortunately, there are more people having trouble with iOS builds than with Android. It's hard to tell what the solution is. Besides, I don't have a Mac so I can't dig into problems but I have this pipeline running successfully for one of my projects. So in theory, it should work.

If you ever find a solution, feel free to share it. Others might benefit from your efforts :) Good luck!

@abdu292
Copy link

abdu292 commented Feb 14, 2023

@mannam95 I have the exact same issue. Just was wondering if you got a solution for this. Anything that you can share would be very much appreciated. Thanks in advance!

cc; @xeladu

@mannam95
Copy link
Author

mannam95 commented Feb 15, 2023

abdu292

@abdu292 I have migrated to code-magic CI/CD, and it does everything excellent. You can give it a try!!

@abdu292
Copy link

abdu292 commented Feb 15, 2023

Thanks @mannam95 for the response. I have a paid account on Azure DevOps and all of my other pipelines are on this. So thought to make this also as well under the same CI infra. However I'll give code magic a try for sure. Thanks again!

@abdu292
Copy link

abdu292 commented Feb 16, 2023

Just thought to share in case if this helps someone.

I found the working solution here.

hey24sheep/azure-flutter-tasks#49 (comment)

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants