No valid iOS code signing keys found in keychain

amun1000 picture amun1000 · Sep 18, 2015 · Viewed 36.7k times · Source

I can Archive and Publish an app in debug mode, but when switched to App Mode i get the following error:

/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Error: No valid iOS code signing keys found in keychain. You need to request a codesigning certificate from https://developer.apple.com.

the attached file shows i do have the relevant Certificates but Xamarin keeps complaining

The app has been successfully published before but using a different profile on the same mac. Both users key chains contain the same certificates

enter image description here

enter image description here

Answer

Fabio Silva Lima picture Fabio Silva Lima · Nov 9, 2016

I resolved that changing plataform build configuration from iPhone to iPhoneSimulator.

enter image description here