Xamarin No valid iOS code signing keys found in keychain

Very often when you download app sample from the web for Xamarin iOS and attempt to run it on a iOS simulator, you might encounter the following error “No valid iOS code signing keys found in keychain.”

The simple solution to this error would be to open up the csproj file and look for

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
 <CodesignEntitlements><strong><em>Entitlements.plist</em></strong></CodesignEntitlements>
</PropertyGroup>

Remove ‘Entitlements.plist’ from the code and that should resolve the error. The below is the end result that you should get.

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
 <CodesignEntitlements></CodesignEntitlements>
</PropertyGroup>

For more details, refer here

Advertisements
This entry was posted in Uncategorized and tagged , . Bookmark the permalink.

One Response to Xamarin No valid iOS code signing keys found in keychain

  1. Irfan says:

    awesome!. That really helped me.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s