I am brand new to iOS app development. My app builds and runs on the windows machine and iOS simulator on my Mac Mini. When I try to run on a connected iPhone, I get the following error:
I have researched the issue, exported the certificate from my mac keychain as a .p12 file, and installed on my PC build machine, but still no change in error.
Any advice? Thanks in advance!
Firstly, please check what the version of the VS you are using. Go to Help->About Microsoft Visual Studio, if you are Professional version please switch to other versions such Enterprise or Community.
Secondly, you don' t need install the .p12 on your PC. You need to export the certificate from your mac mini to a .p12
file and import the certificate into VS > Tools > options > Xamarin > Apple accounts > View Details > Import certificate and then select the p12 file and import it into VS make sure it display Valid
on the status column