iOS Tutorial Creating a certificate and provisioning profile

Discussion in 'iOS Tutorials' started by Erel, Oct 21, 2014.

  1. Erel

    Erel Administrator Staff Member Licensed User

    Don't panic!
    While this process can be a bit annoying it is not too complicated and you can always delete the keys and start from scratch (which is not always the case in Android).

    Note that you must first register with Apple as an iOS developer (costs $99 per year).
    The whole process is done on a Windows computer.

    In order to install an app on an iOS device you need to create a certificate and a provisioning profile.

    The certificate is used to sign the application. The provisioning profile, which is tied to a specific certificate, includes a list of devices that this app can be installed on.

    The video shows the steps required for creating and downloading a certificate and provisioning profile.
    There are two steps which are not shown in the video and are also required before you can create a provisioning profile:

    - Create an App ID. This step is quite simple. Just make sure that you create a wildcard id. For example: my.id.*
    - Add one or more devices. You will need to find the devices UDID for that.

    UDID

    Devices are recognized by their UDIDs. There are two ways to get the device UDID:
    1. If iTunes is installed then you can find it in iTunes (make sure to see the video in HD by clicking on the small gear button):



    2. Use an online service such as this one: http://get.udid.io/


    Certificate and Provisioning Profile

    Main steps:
    1. Set a new keys folder in the IDE.
    2. Create a key by choosing Tools - Private Sign Key.
    3. Create and download the certificate as demonstrated in the video. You will need to upload the CSR file that was created in step 2.
    https://developer.apple.com/account/ios/certificate/

    Note that you can choose either iOS App Development or App Store and Ad Hoc in the certificate page.

    4. Create and download a provisioning profile.

     
    Last edited: Apr 24, 2017 at 9:10 AM
  2. tufanv

    tufanv Expert Licensed User

    Am I the only one who can't see the videos ?
     
  3. Erel

    Erel Administrator Staff Member Licensed User

  4. tufanv

    tufanv Expert Licensed User

  5. mrjaw

    mrjaw Active Member Licensed User

    For testing mode I must use the account developer ? I mean the registred account ?
     
  6. GiulioVale

    GiulioVale Active Member Licensed User

    Hi Erel, video are clear only a bit too fast ;)
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    Yes.
     
  8. flyingpole

    flyingpole Member Licensed User

    Don't understand this note:

    Note that you can choose either iOS App Development or App Store and Ad Hoc in the certificate page.

    What is the difference?
     
  9. Erel

    Erel Administrator Staff Member Licensed User

    It is not important when you use B4i for development. If you want to debug with Xcode then you need to use App Development mode.
     
  10. ciginfo

    ciginfo Active Member Licensed User

    Unable to enter the section "Certificates, identifiers and Profiles".
    I do not get that page. Why?
    upload_2014-11-17_10-38-47.png

    upload_2014-11-17_9-54-8.png
     
  11. Erel

    Erel Administrator Staff Member Licensed User

    You need to first join the iOS developer program (it costs $99 per year).
     
  12. miker2069

    miker2069 Member Licensed User

    I believe I've followed the instructions properly and I *think* it's work
    ing however when I got to compile and run the default test app, I see this at the bottom:

    Parsing code. 0.02
    Compiling code. 0.04
    Compiling debugger engine code. 0.96
    Building Xcode project 0.05
    Sending data to remote compiler. 1.94
    Compilation completed successfully.
    Make sure that B4i-Bridge is started (10.1.16.108).
    Manually launch the app after installation.


    Where exactly do I launch the app after installation? I don't see it on my device. Do I need to manually copy it over to my device via itunes or something?


    Update...

    I realized I didn't read all the tutorial threads...I selected Build B4Bridge and I see the instructions on installting the app...I will go to the other thread for further questions
     
    Last edited: Nov 18, 2014
  13. ciginfo

    ciginfo Active Member Licensed User

    Having no app id, it offers me to create one.
    Should I create an app id for each app future?
    How to create an app id just to test my future apps?
    Ap_id01.png Ap_id02.png
     
  14. Erel

    Erel Administrator Staff Member Licensed User

    You need to create a single wildcard app id. Just make sure that it ends with .*.
     
  15. jaraiza

    jaraiza Active Member Licensed User

    Hi!

    Is this possible to create an app, sign it and then distribute the .ipa?

    Greets
     
  16. Erel

    Erel Administrator Staff Member Licensed User

    Please start a new thread for this question.
     
  17. sorex

    sorex Expert Licensed User

    can I prepare everything without having that device id? I currently don't have a device yet.
     
  18. John Woodsmall

    John Woodsmall Active Member Licensed User

    Ok, I have everything working for my own iphone. Now I want to pass it on to someone else.
    I have their UDID in my hand.
    What do I do to add them to the "whatever" it is list?
    and then after I have them some how covered...how do they
    get the program?
    can I sent it to them or do they somehow have to log on to itunes
    or
    What????

    thanks
    John
     
  19. Erel

    Erel Administrator Staff Member Licensed User

  20. sorex

    sorex Expert Licensed User

    @Erel :

    2. Create a key by choosing Tools - Private Sign Key

    I did this 2 days ago, when I check it again all settings are back to Unknown exept the password.

    Is this app depending and what if I overwrite an old key with new settings like a new company name,
    what will happen if I need to recompile an old app?

    will it cause issues on the app store?
     
Loading...