-
Notifications
You must be signed in to change notification settings - Fork 2.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
[Question]: No profiles for 'xyz' were found: Xcode couldn't find any iOS App Development provisioning profiles matching xyz
(works locally)
#20588
Comments
Hi @avatar-lavventura, thank you for the feedback, I see that you're using Debug configuration for the xcode build, but the uploaded profile most probably was issued for prod(based on the name AheMobilProd.mobileprovision). Could you please check that this provisioning profile was set for debug config as well? |
@DmitriiBobreshev Thank you for your response. I am trying to run this on a dev.azure.com pipeline, and I was informed that it works locally on Xcode. I will double-check the => InstallAppleCertificate:
=> Pre-job: InstallAppleProvisioningProfile:
|
@DmitriiBobreshev I confirm that I am having exact same error when I have tried: Debug configuration for |
@DmitriiBobreshev Please see my update issue with latest configuration for |
Hi @avatar-lavventura, sorry, missed your message, could you please try InstallAppleProvisioningProfile task with version 1 as version 0 is very old and out of support? |
I have tried with
Now the altered error I am receiving is: for:
|
Hi @avatar-lavventura, teamId input works only when signingOption set to 'auto'(by default the value is 'nosign'), and exportTeamId input works only when exportOptions set to 'specify'. Could you please try to set signingOption to auto and remove exportTeamId. Also Could you attach full xcode step logs with debug enabled?
|
@DmitriiBobreshev Thank you, you messages give me hope. I am keep trying optinos to solve this error. Also thank you again for your valuable guidence and patience. - task: Xcode@5
inputs:
actions: 'clean'
configuration: 'Release'
sdk: 'iphoneos'
xcWorkspacePath: 'AheLine.xcworkspace'
scheme: 'AHELine.UI'
packageApp: true
signingOption: 'auto'
useXcpretty: false
teamId: "65R5MW3X38" => Pre-job: InstallAppleCertificate: https://gist.github.com/avatar-lavventura/6347218367b7813a7779fe3854411ed3 Received error messages:
Here (https://stackoverflow.com/a/79133785/2402577) I have adviced to use manual option.
I have also tried: - task: Xcode@5
inputs:
actions: 'clean'
configuration: 'Release'
sdk: 'iphoneos'
xcWorkspacePath: 'AheLine.xcworkspace'
scheme: 'AHELine.UI'
packageApp: true
useXcpretty: false
teamId: "65R5MW3X38"
exportTeamId: "65R5MW3X38"
signingOption: 'manual'
signingIdentity: '$(APPLE_CERTIFICATE_SIGNING_IDENTITY)'
provisioningProfileUuid: '$(APPLE_PROV_PROFILE_UUID)'
args: '-verbose CODE_SIGNING_ALLOWED=No -allowProvisioningUpdates SKIP_INSTALL=YES' => Pre-job: InstallAppleCertificate: https://gist.github.com/avatar-lavventura/28f75d985da9b243db88198223ae283a Received error message:
|
@avatar-lavventura, that is correct, for the hosted mac-os you probably need to set manual signing. For the step
You'd probably need
Another option to generate and bypass plist directly to xcode as it might be the problem with xcode 14, see example here |
For the first task you have share, I am getting the following error:
I have no idea where does And for the second task I am getting the following errors:
|
The development comes from exportMethod's input which is set to development by default when you set exportOptions == specify.
|
@DmitriiBobreshev Thank you very much, I highly appreciated your help. I will try the code you have shared for the second part and will let you know the results. => Hm for the first part I have net set exportOptions == specify though. Hence I can try the first part with |
For the second one when I tried I get following error message :( : In detail:
|
I believe the second part is more promising, but feel free to try with the first one as it's might also work for you. For the second step, the error tells that the export method app-store not the right one for your profile(as well as the development) and for the ceritificate, so you should check on apple portal for what method the profile and certificate issued (they also should be for simmilar exports e.g. ad-hoc or development) and past the correct value to the exportMethod's input. |
I will try following remaining options one by one Sorry I did not get what do you mean by masked secrets? |
Some logs may contain sensitive info(e.g. passwords/service connection names/hashes), better to remove such data. |
@DmitriiBobreshev Sadly neither of them worked :-( I will try to access certificate file (currently I don't have it) to check inside of it. Is the profile the one ends with |
@avatar-lavventura, no exactly, the certificate usually has .p12 extension, and .mobileprovision or .provisionprofile is for profile |
I get access to profile( .mobileprovision) file. How can we understand the type of the profile whether is it |
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
MacOS
Question
I am trying to run a Azure Pipeline for
Task Name: Xcode@5
.Xcode@5 fails to build an Xcode project couldn't find any iOS App Development provisioning profiles matching
profile_name
, resulting in a Code Signing Error with this format:Important section where error is generated from in Xcode@5 task:
Here's the output where I recieve the error:
The text was updated successfully, but these errors were encountered: