iOS Question Please Help me install Local MAC

NGUYEN TUAN ANH

Active Member
Licensed User
I bought Standard + Hosted Mac Builder
Installed B4i V10.0
But I don't understand and can't follow Erel's instructions on setting up Local MAC as follows:
2. Install Xcode 26 from the app store or:
https://developer.apple.com/download/all/?q=xcode+26
(I opened it and saw many Xcode 26 versions, but I didn't know which one to download.)
3. You need to run Xcode at least once. Approve installation of additional components when asked.
4. Download and unzip the B4i-Builder. (How and Where ???)
5. Open a terminal and navigate to B4i-Builder folder.
6. Start it with:
<path to java>/jdk-19.0.1.jdk/Contents/Home/bin/java-jar B4iBuildServer.jar
7. Install Apple Configurator from the app store.
8. Run Apple Configurator and select "Install Automation Tools" in the top left menu.
 

aeric

Expert
Licensed User
Longtime User
Which step are you stucked now?

2. Why not install from the Apple App store? The A icon.

4. Find the email you received for your B4i license.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
I am receiving this error message:
b4i_xuiviewsutils.h:1:9: error: 'iActivityBar.h' file not found (in target 'B4iProject' from project 'B4iProject')
You managed to install local builder, don't you?

If this question is not related to the first post, it is better to start a new question.
 
Upvote 0

NGUYEN TUAN ANH

Active Member
Licensed User
You managed to install local builder, don't you?

If this question is not related to the first post, it is better to start a new question.
I finished Installed B4i V10.0
i finished downloaded B4iBuildServer.zip to my computer
But I think this error is because I haven't installed it yet Local MAC
I don't know:
6. Start it with:
<path to java>/jdk-19.0.1.jdk/Contents/Home/bin/java-jar B4iBuildServer.jar
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
6. Start it with:
<path to java>/jdk-19.0.1.jdk/Contents/Home/bin/java-jar B4iBuildServer.jar
Sorry @Erel but this command does look a bit confusing.

@NGUYEN TUAN ANH If you have downloaded the B4iBuildServer.zip, unzip it to B4iBuildServer.
Using Terminal, type the following commands.
Bash:
cd <path to java>/jdk-19.0.1.jdk/Contents/Home/bin
java -jar B4iBuildServer.jar
* Replace <path to java> with your own path.

Note there is a space between java and -jar.
 
Last edited:
Upvote 0

NGUYEN TUAN ANH

Active Member
Licensed User
I get error:
PS D:\B4X\NewKeyiOS\B4iBuildServer> C:\Java\jdk-19.0.1\bin\java -jar B4iBuildServer.jar
Build server version: 10.00
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2026-02-03 23:40:57.917:INFO::main: Logging initialized @169ms to org.eclipse.jetty.util.log.StdErrLog
Loading default configuration file.
AppPath=D:\B4X\NewKeyiOS\B4iBuildServer
Mac version: 10.0
main._getxcodepath (java line: 285)
java.io.IOException: Cannot run program "xcode-select" (in directory "."): CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
at java.base/java.lang.Runtime.exec(Runtime.java:615)
at org.apache.commons.exec.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:61)
at org.apache.commons.exec.DefaultExecutor.launch(DefaultExecutor.java:279)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:336)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
at anywheresoftware.b4j.objects.Shell.RunSynchronous(Shell.java:233)
at b4j.example.main._getxcodepath(main.java:285)
at b4j.example.main._appstart(main.java:109)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:117)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:104)
at b4j.example.main.main(main.java:28)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:500)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)
... 14 more

PS D:\B4X\NewKeyiOS\B4iBuildServer>
 
Upvote 0

NGUYEN TUAN ANH

Active Member
Licensed User
java.io.IOException: Cannot run program "xcode-select" (in directory "."): CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
I get error:
PS D:\B4X\NewKeyiOS\B4iBuildServer> C:\Java\jdk-19.0.1\bin\java -jar B4iBuildServer.jar
Build server version: 10.00
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2026-02-03 23:40:57.917:INFO::main: Logging initialized @169ms to org.eclipse.jetty.util.log.StdErrLog
Loading default configuration file.
AppPath=D:\B4X\NewKeyiOS\B4iBuildServer
Mac version: 10.0
main._getxcodepath (java line: 285)
java.io.IOException: Cannot run program "xcode-select" (in directory "."): CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1143)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1073)
at java.base/java.lang.Runtime.exec(Runtime.java:615)
at org.apache.commons.exec.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:61)
at org.apache.commons.exec.DefaultExecutor.launch(DefaultExecutor.java:279)
at org.apache.commons.exec.DefaultExecutor.executeInternal(DefaultExecutor.java:336)
at org.apache.commons.exec.DefaultExecutor.execute(DefaultExecutor.java:166)
at anywheresoftware.b4j.objects.Shell.RunSynchronous(Shell.java:233)
at b4j.example.main._getxcodepath(main.java:285)
at b4j.example.main._appstart(main.java:109)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:117)
at anywheresoftware.b4a.BA.raiseEvent(BA.java:104)
at b4j.example.main.main(main.java:28)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.base/java.lang.ProcessImpl.create(Native Method)
at java.base/java.lang.ProcessImpl.<init>(ProcessImpl.java:500)
at java.base/java.lang.ProcessImpl.start(ProcessImpl.java:159)
at java.base/java.lang.ProcessBuilder.start(ProcessBuilder.java:1110)
... 14 more

PS D:\B4X\NewKeyiOS\B4iBuildServer>
You are confused.
Read carefully the instruction on https://www.b4x.com/android/forum/threads/local-mac-builder-installation.46402/

Are you running the command on Mac or Windows?
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
So, if I'm running Erels' virtual MAC server service, I don't need to perform these steps, right?
Yes!
Local Builder mean you need to own a Mac computer. If you don't have one then you can use the online builder.
 
Upvote 1

aeric

Expert
Licensed User
Longtime User
I was offered a license renewal (Standard + Hosted Mac Builder) at a discounted price of only $59, but due to a mistake, I also purchased Hosted Mac Builder for $26. Therefore, I would like to request a refund of the $26 Hosted Mac Builder I purchased so that I can buy Standard + Hosted Mac Builder at the discounted price of $59. Is this possible?
If you don't have a Mac, you need to get the package with Hosted Builder or add $26.
 
Upvote 0
Top