iOS Tutorial Local Mac Builder Installation

Not open for further replies.
Edit: Apple Configurator 2 must be used when using a local Mac:
iOS compilation requires an Apple Mac computer. Developers have two options with B4i:
- Use a local Mac machine connected over the local network.
- Use our hosted builder rental service.

These instructions explain how to install the builder on a local Mac machine.

1. Install Java JDK 8:
OpenJDK 11+ is also good (link is available here:

2. Install Xcode 14:
2.5. You need to run Xcode at least once. Approve installation of additional components when asked.
3. Download and unzip the B4i-Builder.
4. Open a terminal and navigate to B4i-Builder folder.
5. Run it with: java -jar B4iBuildServer.jar
6. Set the builder IP address in the IDE under Tools - Build Server - Server Settings
7. Install Apple configurator 2:
It is not possible to make an over the air installation with the local builder.
8. You might be asked for a password during a build (codesign step). The password is 111111

Notes & Tips

By default ports numbers 51041 (http) and 51042 (https) are used.
- The firewall should be either disabled or allow incoming connections on these two ports.
- You can test that the server is running by going to the following link: http://<server ip>:51041/test
- You can kill the server with: http://<server ip>:51041/kill
- It is recommended to set your Mac server ip address to a static address. This can be done in your router settings or in the Mac under Network settings.
- A single Mac builder can serve multiple developers as long as they are all connected to the same local network. Note that you are not allowed to host builders for developers outside of your organization.


BuildServer v1.02 includes a new test page which provides information about the server, including the SSL key ip address and the libraries versions.
You can access this page with: <Mac ip>:51041/test
Last edited:


Licensed User
Longtime User
Thank you. I just followed a tutorial that tells the installation in paralellos with windows 7. I followed the steps and it worked. Was missing the part of the certificate that .cem. Entering the iOS Safari and installed. In short is now working. It would be nice to do a manual of the same functions and installation of B4A (android)


Active Member
Licensed User
Longtime User
Hi Erel

Is there a minimum recommended spec for a local builder?
I have been using your remote service but now wish to buy myself an old Mac mini or MacBook to do this locally...

Please advise


Active Member
Licensed User
Longtime User
Hi , totally mac newbie but i got a macbook pro to try to compile locally, if i test the server in

i get

B4i Build Server
Build server is running.
Version: 1.02
Server time: 21:10:30
Mac SSL Key
Invalid key!!!
SSL port: 51042
h files
a files

What is the invalid key error please?

Alberto Iglesias

Well-Known Member
Licensed User
Longtime User
Hey Everybody, I have the version 1 of MacServer

Build server version 1:

When I run the Bridge on iPhone, appears a message: "Please install a new version of B4i-Brigde" like this:


Where I can get the new one?


Alberto Iglesias


Active Member
Licensed User
Longtime User
Mayby U can rebuild the B4i-Bridge in IDE and reinstall it ... But U should upgrade to the
latest B4I version 1.5

Last edited:


Licensed User
Longtime User

I followed the first post's steps, and I have a problem in the 5th step:

When I execute in the terminal:
java -jar B4iBuildServer.jar

I have next error:
main._process_globals (java line: 273)

java.lang.UnsupportedClassVersionError: anywheresoftware/b4j/object/ServerWrapper : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(
at java.lang.ClassLoader.defineClass(
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at b4j.example.main._process_globals(
at b4j.example.main.initializeProcessGlobals(
at b4j.example.main.main(

It seems a version problem of JDK, but I have V8 update 25 "(compilación 1.8.0_25-b17)" recently installed.

Should I change any path...?

I have seen similar error (Unsupported major.minor version 51.0) but in build process, not installation process.

Macbook pro mid 2009
Mavericks 10.9.5
Xcode 6.1.1

Thanks everybody. Nice day!


Well-Known Member
Licensed User
Longtime User
Thank you it's good.
I have a question.
I have user id for use mac builder.
Now i can install mac os in vmware and install java and xcode and b4ibuilderserver and run it and get successfully ip with port
I enter ip in Build Server\Server Setting but if anyone dont have user id also cannot use local mac os for compile?


Well-Known Member
Licensed User
Longtime User
The user id is not important with the local mac builder. You can use any id you like (though it is convenient to use the same one as the remote builder id).
Thank you for everything very very thanks


Licensed User
Longtime User
im get this error on compiling first proj

Parsing code. 0.00
Compiling code. 0.02
Compiling layouts code. 0.00
Compiling debugger engine code. 0.53
Building Xcode project 0.01
Sending data to remote compiler. Error
mobileprovision file not found.
Not open for further replies.