iOS Tutorial Creating a certificate and provisioning profile

Status
Not open for further replies.
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.
Edit: pay attention to the certificate and provision profile options selection in the following screenshots (the options in the video are a bit different):

1642693415951.png

1642693576135.png




Steps required:

IDE
  • Tools - Configure Paths. It is recommended to use OpenJDK 11.
  • Tools - Build Server - Server Settings
  • Tools - Private Sign Key - fill password and click on Create New Key
UDID
Apple developer account - developer.apple.com
  • Devices - Add device
  • App Id - Create wildcard app id
  • Certificate - Create distribution certificate (ad hoc + store)
  • Provision Profile - Create distribution profile (ad hoc)

Next tutorial: https://www.b4x.com/android/forum/threads/installing-b4i-bridge-and-debugging-first-app.45871/
 
Last edited:

mrjaw

Active Member
Licensed User
Longtime User
For testing mode I must use the account developer ? I mean the registred account ?
 

ciginfo

Well-Known Member
Licensed User
Longtime 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
 

miker2069

Active Member
Licensed User
Longtime 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:

ciginfo

Well-Known Member
Licensed User
Longtime 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
 

sorex

Expert
Licensed User
Longtime User
can I prepare everything without having that device id? I currently don't have a device yet.
 

John Woodsmall

Active Member
Licensed User
Longtime 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
 

sorex

Expert
Licensed User
Longtime 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?
 

RichardHirst

Member
Licensed User
Longtime User
Hello.

Trying to create a Certificate but the 'Generate' button is not active..?

Any idea..?

Richard
 

Attachments

  • Disabled.jpg
    Disabled.jpg
    22.6 KB · Views: 1,331

RichardHirst

Member
Licensed User
Longtime User
You already uploaded csr file, right?

Maybe try it from a different browser.
Hi Erel

I had already uploaded a csr file, but deleted all and started a fresh due to errors..

Installed chrome, all working now...So the fun begins.

Thanks

Richard
 

fbritop

Active Member
Licensed User
Longtime User
Erel,
What happens if I have an APP in production within the App Store, and I delete the certificates, provision files, etc. Does the app on the App Store wont be able to run? or are they independent.

Thanks
FBP
 

macerau

Member
Licensed User
Longtime User
Erel
This file (mobileprovision file not found.) is only created by APPLE?

I just want to install the application on my iphone, and not create a developer account with Apple.

It is to take a bypass in this file?
 
Status
Not open for further replies.
Top