No valid iPhone code signing keys found in keychain

前端 未结 6 1609
萌比男神i
萌比男神i 2020-12-30 20:26

So I downloaded to my Mac Pro the XCode 5 and Xamarin and created Single View Hello World application and excited to launch it through the simulator I run it and?

I

相关标签:
6条回答
  • 2020-12-30 20:58

    After two days of no sleep I found a solution for this particular problem, not sure if it is the best one but here you are, one of this should work:

    1) Go to Project -> Solution Options -> Configurations

    I have removed: Release|iPhone, Debug|iPhone and this is where it started working also for any other project.

    2) Maybe before the step 1) just try to change in -> Configurations -> Configurations Mappings the platform from iPhone to iPhoneSimulator.

    If this is not going to work, try 1)

    I hope this is going to help some of you and save tons of time!!

    Cheers

    0 讨论(0)
  • 2020-12-30 20:59

    One more solution.
    In Release configuration I successfully built my app, but in Debug - had the same issue, as in topic.

    Go to your startup Project-> Options -> Build -> iOS Bundle Signing. Then check your Signing Identity and Provisioning Profile for each Configuration Debug and Release.

    In my case Release configuration was setup-ed correctly (several days ago by me) with values:
    - Signing Identity: Developer(Automatic)
    - Provisioning Profile: Automatic

    But Debug configuration was silently corrupted somehow:
    - Signing Identity: Unknown (Iphone Distribution: name of my company)
    - Provisioning Profile: No matching profiles found

    Thus, fix your Debug configuration to be equal with Release.

    0 讨论(0)
  • 2020-12-30 20:59

    I am on MacOSX and I have encountered this issue on Xamarin Studio when debugging using Debug|iPhoneSimulation.

    The error will just keep on repeating. What has worked for me was this link Answered by KMullins

    This is due to an expired profile that was renewed.

    0 讨论(0)
  • 2020-12-30 21:08

    It´s really simple, in the drop down (Solution Platforms) from the toolbar chose the right one, if you´re debugging in an iPhone/iPad chose that, if not change to simulator, the problem will go away, there´s no need for removing anything.

    If you can't find the corresponding drop-down menu, check out this tutorial on how to make it visible. Once you can see the Solution Platforms combobox in the toolbar, you can select iPhoneSimulation and the problem will go away.

    0 讨论(0)
  • 2020-12-30 21:11

    Today I had the same issue after Xamarin upgrade. I tried to run my application in the simulator. The solution was however different.

    Please note that all the solutions mentioned here on this page from others might have been right in certain time or are right and works in certain circumstances.

    Today's solution:

    Go to Project -> "Name of your project" Options -> Build -> iOS Bundle Signing -> Custom Entitlements - remove Entitlements.plist from the textbox -> Click OK

    Thanks

    0 讨论(0)
  • 2020-12-30 21:14

    I have resetted my Mac Book pro keychain and I encounter this issue.

    When that happens, go in XCode and ensure that you are properly logged on into your Apple ID. If so, you should see your development group, you may have to click Join once again.

    Read the following post, it explains everything.

    0 讨论(0)
提交回复
热议问题