error : No valid iOS code signing keys found in keychain.

Hi,
When i try to build iPhone app in Mac using jenkins, msbuild, Xcode it makes error like "error : No valid iOS code signing keys found in keychain.
Task "DetectSigningIdentity" execution -- FAILED". I don't no where i configured wrong. I have full license for developer. it will expire next year.

The full build error is below:
Target CoreCompile:
Skipping target "CoreCompile" because its outputs are up-to-date.
Target _DetectSigningIdentity:
DetectSigningIdentity Task
AppBundleName: MechanicAnywhereiOS
AppManifest: Info.plist
RequireCodesigning: True
Platform: iPhone
ProvisioningProfile:
SigningKey: iPhone Developer
/Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: error : No valid iOS code signing keys found in keychain.
Task "DetectSigningIdentity" execution -- FAILED
Done building target "_DetectSigningIdentity" in project "/Users/Shared/Jenkins/Home/jobs/Mechanicanywhere/workspace/MechanicAnywhere/MechanicAnywhere.iOS/MechanicAnywhere.iOS.csproj".-- FAILED
Done building project "/Users/Shared/Jenkins/Home/jobs/Mechanicanywhere/workspace/MechanicAnywhere/MechanicAnywhere.iOS/MechanicAnywhere.iOS.csproj".-- FAILED
Task "MSBuild" execution -- FAILED
Done building target "Build" in project "/Users/Shared/Jenkins/Home/jobs/Mechanicanywhere/workspace/MechanicAnywhere.sln".-- FAILED
Done building project "/Users/Shared/Jenkins/Home/jobs/Mechanicanywhere/workspace/MechanicAnywhere.sln".-- FAILED

Build FAILED.

Kindky help ASAP. If you have solution/website link update in forum or send my mail ID: [email protected]

Posts

  • ThibaultDThibaultD SEMember ✭✭✭

    Could it be similar to this issue?
    https://forums.xamarin.com/discussion/4129/no-valid-iphone-code-signing-keys-found-in-keychain-error

    Be aware that, to code sign an iOS app you need a valid code signing chain (check Apple's documentation for that).
    This means a valid distribution certificate, including its private key, and a distribution provisioning profile that matches your app ID. All of these need to be installed on the building machine. If you wish to build from command line you also have to tell Keychain that it's OK for programs on your computer to use this certificate.

Sign In or Register to comment.