Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No valid iOS code signing keys found in keychain. You need to request a codesigning certificate

So I have build a Xamarin Forms application, that I now want to test on a physical iOS device. The debugger successfully run my program, but unfortunately I run into problems when I deploy my program on a physical iPhone.

I did the following in order to deploy my app:

  1. Followed this tutorial in order to create a Free provisioning profile for my app (https://learn.microsoft.com/en-us/xamarin/ios/get-started/installation/device-provisioning/free-provisioning?tabs=windows) (successfully runs xcode 1 view app, and installs provisioning profile on phone)
  2. Switched xamarin to debug on a phyiscal device

The bundle identifier naturally matches, and I have done the following to solve the issue:

  • Set the value of "CodesignEntitlements" from the .csproj to null

Still no success. I'm curious why Xamarin asks for a code signing key, while I'm still just debugging..

any help is much appreciated

like image 904
Jeppe Christensen Avatar asked Mar 03 '23 09:03

Jeppe Christensen


1 Answers

Make sure you select "Remote Device" instead of "Local Device" during the build.

like image 65
TPG Avatar answered Apr 08 '23 16:04

TPG