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: 80

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

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:


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: 92
  • error2.txt
    117.1 KB · Views: 73
Last edited by a moderator:
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Upvote 0
Solution

ilan

Expert
Licensed User
Longtime User
Upvote 0

ilan

Expert
Licensed User
Longtime User
just a dumb question. since we are selecting which libraries we are using, why isn't the IDE performing a check when compiling that all necessary (up to date) library files are present and if not present a clear and simple Error Message in the IDE instead of let the xcode throw the error?? i believe it should be simple to implement or am i wrong?
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
The IDE does check for the library existence, where library is the XML file. The builder doesn't make such check. It is a bit more complicated than it might seem as libraries can be referenced in many ways.
yeah you are right. libraries are not always a combination of a set of 2 files (*.h and *.a).
so is there a rule or correct way to understand the real issue from the endless error log we get when something is wrong?

if the "real" error always comes after "error:" then maybe somehow show it more clear and simple in the IDE after compile?

and if not but this is the case of 80% then at least cover those cases.
the reason i point it is to speed up coding and also give you less work since in most cases you are the only one that really can give a solution for such problems.

anyway thank you Erel for your support it is very much appreciated !!

You are the best!
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…