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

"No iOS signing identities match the specified provisioning profile" when there are multiple profiles with the same name #13016

Open
chamons opened this issue Oct 18, 2021 · 2 comments
Labels
bug If an issue is a bug or a pull request a bug fix iOS Issues affecting iOS
Milestone

Comments

@chamons
Copy link
Contributor

chamons commented Oct 18, 2021

If you have multiple profiles with the same name linked to different certificates the iOS signing set can get very confused.

Originally in internal bug but this appears to be unrelated to IDE integration

I've been able to reproduce it by using Manual Provisioning and selecting a specific certificate and provisioning profile, but Automatic Provisioning makes it easier to reproduce because it always creates certificates with the same name (VS:WildCard Development).

Workaround

Select Manual Provisioning and then select Automatic as Signing Identity and Provisioning Profile.

Steps to Reproduce

  1. Setup multiple different profiles with the same name linked to different certificates. This can be done easier as Automatic signing will create "VS:WildCard Development".
  2. Try to build (locally on mac or over remote Windows connection).
  3. error : No iOS signing identities match the specified provisioning profile 'VS: WildCard Development'.

Expected Behavior

Either a specific error stating situation or successful build.

Actual Behavior

Confusing build error

Environment

Build Logs

Build Output - DetectSigningIdentity failed.txt

Example Project (If Possible)

None. Any new iOS project will repro if certificates in correct "bad" state.

@chamons chamons added bug If an issue is a bug or a pull request a bug fix iOS Issues affecting iOS labels Oct 18, 2021
@chamons chamons added this to the Future milestone Oct 18, 2021
@sherif-elmetainy
Copy link

I have the same issue when I use Automatic provisioning.
It seems that automatic provisioning would create a signing certificate %USERPROFILE%\AppData\Local\Xamarin\iOS\Provisioning\Certificates but since the actual signing occurs on the macOS computer, the macOS doesn't have the private key for the signing certificate.

At the moment I am trying to look into ways to export that .p12 certificate file. There is a corresponding .pass file having the same name. But I can't figure out the format in which the password is stored.

@dantoine
Copy link

dantoine commented Dec 6, 2021

Usering KeyChain Access on remote host Mac may help to export a .P12 certificate (Login > My Certificates > Right-click on the certificate > Export), which you then have to import in local Visual Studio (Tools > Options > Xamarin > Apple Accounts > Show Details).

However, despite being able to type the password for the certificate in VS, it is not loaded in the certificate list. It appears it is not loaded in background either, as I have the same issue as OP. ("No iOS signing identities match the specified provisioning profile" - may be unrelated to this issue)

Looks like a bug to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug If an issue is a bug or a pull request a bug fix iOS Issues affecting iOS
Projects
None yet
Development

No branches or pull requests

3 participants