No valid iPhone code signing keys found in keychai

2019-04-19 12:49发布

问题:

I'm getting this error iPhone code signing keys found in keychain error Xamarin even after deleted Entitlements.plist when trying to build the HelloWorld_iPhone app using Xamarin Studios. I understand Its require while deploy on real device but I'm building and trying to run on a simulator and still causes this issue. Is this known issue?

回答1:

Yeah it seems bug in Xamarin Studio It has work around that you must have AppleID just to login on XCode. Try following:

  • Create an Acount @ Apple Dev (If you don't have)
  • Open XCode and Menu
  • Preferences > Accounts > Add AppleID (Just Created)

  • Now go back to Xamarin Studio and try to build your application again on simulator.

Try to rebuild and issues gone!!



回答2:

Try to delete Entitlements.plist from iOS project and try to recompile project.



回答3:

In my case, there was already apple id but I clicked on ManageCertificate

and then I added certificate by clicking on plus sign and its done.