iOS Question Failed to parse certificate file.Error: security: SecKeychainDelete: The specified keychain could no

Discussion in 'iOS Questions' started by tufanv, Aug 19, 2019.

  1. tufanv

    tufanv Expert Licensed User

    Hello,

    Searched all the topics about this issue, and created a new certificate and provision file. I am always getting this error with local mac builder:

    Sending data to remote compiler. Error
    Failed to parse certificate file.Error: security: SecKeychainDelete: The specified keychain could not be found.

    Anything I can do about it ?

    edit: I also tried to change the user id as @Erel suggested
     
    Last edited: Aug 19, 2019
  2. Filippo

    Filippo Expert Licensed User

    Hi @tufanv ,

    This is unfortunately one of the mistakes that come from today to tomorrow, without be a clear reason.
    I had the same thing a few months ago. After several times creating new certificate and provision file, it worked.
    The creation of certificate and provision file is still so obscure(at least for me), even after so many years of B4i.
     
  3. tufanv

    tufanv Expert Licensed User

    So shouldI continue to create certificate and provision until it is okay :) I have reachedthe maximum number of certificates for now :)

    I have to update the apps for the marketing url and hit this error.
     
  4. Filippo

    Filippo Expert Licensed User

    I always delete the old one, so I do not have this problem.
     
  5. tufanv

    tufanv Expert Licensed User

    I already tried 3 new pairs but no luck. I revoked one and tried with new ones but no luck.
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    The first thing to do is to test it with the hosted builder. If you don't have an account then I will send you a temporary id.
     
  7. tufanv

    tufanv Expert Licensed User

    I don't have the hosted builder. I can try with that with the temporary id.
     
  8. Filippo

    Filippo Expert Licensed User

    I know, that's depressing. :(
    I also thought that my Mac was not working anymore and wanted to set up new ones.
     
  9. tufanv

    tufanv Expert Licensed User

    Failed to parse certificate file.Error: security: SecKeychainDelete: The specified keychain could not be found.

    Getting the same error with the hosted builder now. (thanks for temporary id )
     
  10. Erel

    Erel Administrator Staff Member Licensed User

    My guess is that the certificate and provision file do not match. Start from scratch. Create a new keys folder.
     
    tufanv likes this.
  11. tufanv

    tufanv Expert Licensed User

    I have to leave the office now I will try this evening with both local and hosted and report my findings here.
     
  12. watesoft

    watesoft Member Licensed User

    Try open xcode, Menu: Xcode→Preferences→Accounts→ Input your Apple Id and Password→Download Manual Profiles.

    Or your package name does not match your mobileprovision name
     
    Last edited: Aug 19, 2019
  13. Yvon Steinthal

    Yvon Steinthal Active Member Licensed User

    I encountered the same problem today... Will redo the steps for the certificate and provisioning...

    EDIT: Even after regenerating these files i still get the same error.... any ideas?
     
    Last edited: Aug 19, 2019
  14. Erel

    Erel Administrator Staff Member Licensed User

    Please start a new thread.
     
    Yvon Steinthal likes this.
  15. Brandsum

    Brandsum Active Member Licensed User

    I had the same problem. So deleting all old certificates from keychain and installing the new one solved my issue. I use local builder.
     
  16. tufanv

    tufanv Expert Licensed User

    While using a remote builder, I dont think we have anything to do with the keychain so it MAY NOT be the problem. For local builder you may be right. I will make some tests with both local and remote builder in a hour.
     
  17. tufanv

    tufanv Expert Licensed User

    Now I deleted all certificates and provision profiles. Created new ones. And everything is working in local builder. On remote builder I get an error about firebase analytivcs which is probably a missing library I use but hosted builder doesn't have. What I did wrong was, I had created a Apple Distribution certificate whereas I needed to create iOS Distrbution Certificate.
    But I dont know why the old ones stopped working and gave me that error.

    @Erel : thanks for hosted builder, it can be dectivated now.
     
    Erel likes this.
  18. Erel

    Erel Administrator Staff Member Licensed User

    Apple has changed the site interface. I will create a new video tutorial soon.
     
    Yvon Steinthal, Filippo and tufanv like this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice