Hello
I'm trying to compile a xamarin project, (windows 10 x64, visual studio 2019)
But an error appears
Xamarin.iOS.Common.targets (693.3): error: No valid iOS code signing keys found in keychain
Then I installed Visual studio for mac on macOs and got a more detailed error
The certificate 'Apple Development: [email protected] (********)' does not match any of the prefixes 'iPhone Developer', 'iOS Development'.
Before that, I successfully compiled and launched a program on the phone in Xcode.
An "Apple Development" certificate was automatically generated by Xcode.
As I understand it, this bug(?) can be fixed by fixing something in Xamarin.iOS.Common.targets to find the Apple Development prefix
But the file is too complicated, I do not understand what to do for sure.
Have you the solutions ?
Thanks!
Answers
Do you consume the free provisioning profile or a paid one?
If you are developing another project with a different bundle id the corresponding provisioning profile should be recreated too.
Here is the documentation discussing how to use free provisioning profile: https://docs.microsoft.com/en-us/xamarin/ios/get-started/installation/device-provisioning/free-provisioning?tabs=windows
You have to create a project with the same bundle id in XCode to help you generate the profile.
If you have paid for the Apple membership follow this doc to manually create your profile.