Wish Debug/Release Key choose ...

Discussion in 'iOS Bugs & Wishlist' started by ilan, Jan 19, 2015.

  1. ilan

    ilan Expert Licensed User

    it would be much easier if in the "path configurations" there will be also a path for "release to store key" and if we choose debug or release it will use the debug key and if we choose "release to store" (this need also to be added) then it will use the store key...
  2. Erel

    Erel Administrator Staff Member Licensed User

    Already supported with conditional compilation and #CertificateFile / #ProvisionFile.

    For example:

    inakigarm and ilan like this.
  3. ilan

    ilan Expert Licensed User

    i tried to implement it in my app but dont understand how

    i have 2 directories and when i want to install on my device (debug or realease) i use key folder1 ("C:\b4i\key1")

    to publish to store i change in configuration Path to keyfolder2
    if i want to do it automatically where do i write the destination of keyfolder2?? ("C:\b4i\key2")
  4. Erel

    Erel Administrator Staff Member Licensed User

    You should put all the keys in the same folder. The most important thing is to use the same certSigningRequest.csr whenever you create a new key.

    You can always delete existing keys and create new ones.

    This is how my keys folder look:

    You can see that I have in this folder: development certificate and provision file (default.cer and default.mobileprovision), distribution certificate, store provision, and push related files. All of them are derived from the same certSigningRequest.csr file.

    The IDE uses the default files unless you explicitly set a different value.
    ilan likes this.
  5. ilan

    ilan Expert Licensed User

    thanx it worked :)
  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