iOS Question B4i Local Builder error

ilan

Expert
Licensed User
Longtime User
hi

i am unable to use the local builder again. i am using the exact zip that was delivered with the server email from b4i.

i asked copilot but he told me that i need to update firebase library. i could not get it work. what is the problem can someone tell me please?
 

Attachments

  • error.txt
    93.3 KB · Views: 15

Erel

B4X founder
Staff member
Licensed User
Longtime User
You can read more about this error here: https://www.b4x.com/android/forum/threads/problems-with-buildserver.169410
You have two options:
1. Download the builder package again. I've uploaded an updated package without the code signatures.
2. Run the two commands from: https://www.b4x.com/android/forum/threads/problems-with-buildserver.169410/post-1038281 (no need to download a new package of Firebase).

B4X:
cd ~/B4iBuildServer/Libs/Extra/Firebase
find . -name "_CodeSignature" -type d -exec rm -rf {} +
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
You can read more about this error here: https://www.b4x.com/android/forum/threads/problems-with-buildserver.169410
You have two options:
1. Download the builder package again. I've uploaded an updated package without the code signatures.
2. Run the two commands from: https://www.b4x.com/android/forum/threads/problems-with-buildserver.169410/post-1038281 (no need to download a new package of Firebase).

B4X:
cd ~/B4iBuildServer/Libs/Extra/Firebase
find . -name "_CodeSignature" -type d -exec rm -rf {} +

Thanks Erel for your reply. i downloaded the zip directly on my mac but still got that error. i will try again.
and i will also run the code above in the terminal and let you know (or should i only do 1 of both options?).

btw i could build an app that doesnot use firebase auth but does use admob. this app that failed is using firebase auth and i guess this is the issue.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
Make sure to delete the Firebase libraries before unzipping the new one.

The logs should show the path to the signature file. There shouldn't be any, but maybe I missed one.
ok now i am not sure i understand what to do? should i download again the local builder zip from the email i received? if so i will completely delete the whole folder and unzip again. or is there a zip with firebase only? downloading the firebase sdk from the firebase website does not work because the structure is not as b4i expect it to be so what should i download?
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
ok, i deleted completely the folder and downloaded the server again.
now i have a bigger error log that includes more firebase libs. i tried to run this:


B4X:
cd ~/B4iBuildServer/Libs/Extra/Firebase
find . -name "_CodeSignature" -type d -exec rm -rf {} +

but the error is not resolved. according to copilot it is a old version of firebase:

Alright ilan — now that I’ve seen both logs, the picture is much clearer.


Your build is failing for the same reason as before:


Xcode is getting stuck while processing the Firebase XCFrameworks.


And here’s the key detail:


Your log never reaches ANY compile or link step.
It stops during the “ProcessXCFramework” phase.

That phase only fails for three possible reasons, and based on your logs, one of them is overwhelmingly likely.




✅ THE REAL ISSUE: Your Firebase frameworks are incompatible with your Xcode version


Your build server is using:


iPhoneOS26.4.sdk
This corresponds to Xcode 16.x.

But your Firebase frameworks were almost certainly built for Xcode 15.x or older.


When Firebase frameworks don’t match the Xcode SDK version, Xcode fails silently during:

builtin-process-xcframework


Exactly what your logs show.




🔍 Why this is definitely the cause​


1. The build stops at the same place every time​


Right after:

ProcessXCFramework ... FirebaseAnalytics.xcframework
ProcessXCFramework ... FirebaseAuth.xcframework
ProcessXCFramework ... GoogleMobileAds.xcframework
...


And then the log ends abruptly.


2. No error message from Xcode​


This is typical when the XCFramework contains:


  • missing arm64 slices
  • outdated Swift ABI
  • outdated Firebase binary format
  • incompatible minimum iOS version

3. You are using B4i 10.00, which still ships Firebase SDKs built for Xcode 14–15, not 16.​




❗ Additional issue (secondary but important)​


Your signing flags include:

OTHER_CODE_SIGN_FLAGS=--keychain <user id>


If <user id> is literally a folder name and not a real keychain, signing will fail later —
but you never even reach the signing stage because the build dies earlier.




✅ What you should do now​


Option A — The fastest fix


Remove Firebase temporarily and try a clean build.


If it builds → the problem is 100% Firebase/Xcode mismatch.




Option B — Install the correct Firebase package


You must install the latest B4i Firebase SDK that matches Xcode 16.


Erel released updated Firebase XCFrameworks for newer Xcode versions.
If you are using older ones, they will not work.




Option C — Downgrade your local build server to Xcode 15.4


If you cannot update Firebase, then:


  • uninstall Xcode 16
  • install Xcode 15.4
  • rebuild

Firebase will work again.




📌 What I need from you to give the exact fix​


Tell me:


1. Your Xcode version on the build server​


(Go to Xcode → About Xcode)


2. The Firebase package version you installed in B4i​


(From the B4i forum download link)


3. Whether you are using local builder or hosted builder


With those three details, I can tell you the exact step to fix it — no guessing.




If you want, I can also check which Firebase frameworks in your folder are outdated and which ones need replacement.

i am including 2 error logs. first after a fresh download of the mac server and the second after running the this code in the terminal:


B4X:
cd ~/B4iBuildServer/Libs/Extra/Firebase
find . -name "_CodeSignature" -type d -exec rm -rf {} +
 

Attachments

  • error.txt
    112 KB · Views: 8
  • error2.txt
    117.1 KB · Views: 7
Last edited by a moderator:
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0

ilan

Expert
Licensed User
Longtime User
Upvote 0
Top