Streamline CI setup for your Apache Cordova, PhoneGap, Ionic, or Cordova CLI compatible app using a set of useful pre-defined build steps for VS Team Services or TFS
In this case, a P12 file was valid, but the contents are expired. The code currently updates the keychain search path before looking inside the P12 to find a valid identity. Unfortunately the code is then failing to clean up the search path and delete the _temp keychain if no valid identity is found. This logic will need to be modified to handle invalid cert scenarios like this one.
You can tell this is happening by looking at the long list of keychains when this error occurs.
This was exposed by https://github.com/Microsoft/vsts-cordova-tasks/issues/34
In this case, a P12 file was valid, but the contents are expired. The code currently updates the keychain search path before looking inside the P12 to find a valid identity. Unfortunately the code is then failing to clean up the search path and delete the _temp keychain if no valid identity is found. This logic will need to be modified to handle invalid cert scenarios like this one.
You can tell this is happening by looking at the long list of keychains when this error occurs.
Ex: