iosiphone-developer-programcsr

Can't create a new Certificate Signing Request(CSR)?


I am trying to test my app on my iOS device. To do so I ill need to create a Certificate Signing Request(CSR).

These are the steps I took:

Then the error:

The specified keychain is not a valid keychain file

I have tried the search engine for answers and I had no luck! Any help would be very much appreciated! Thanks in advance!


Solution

  • I have solved this question! Here are the steps:

    Go to your terminal and type in:

    ls -l ~/Library/
    

    This will make sure that the permissions on the keychain folder are correct.

    privs on the Keychains folder should be

    drwxr-xr-x
    

    If it is not drwxr-xr-x then follow these steps:

    This solved my problem! :)