iOS Question Local Builder Error

ilan

Expert
Licensed User
Longtime User
hi

i am trying again to install an app after making minor updates using the local builder but i am getting an error

it worked 1 month ago



what is the reason for the error? any clue?

thanx
 
Solution
I did that already, and I also remember that Erel sometime suggest to use sudo if something is not working well.
but maybe I am wrong.

so after investigations I was able to run it. when I made the os update I was asked if I want to use FileVault. this feature will encrypt all data on your ssd. this is why (my guess) the b4i builder could not run without sudo and also with sudo it did not work. disable this feature and restart...

Sandman

Expert
Licensed User
Longtime User
Always search for "error" in the word salad that comes from Apple's compiler. In this case I could find this:

"error: "B4iProject" requires a provisioning profile. Select a provisioning profile in the Signing & Capabilities editor. (in target 'B4iProject' from project 'B4iProject')"

So it seems that you don't have a provisioning profile available.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
What happens if you change the user id under Tools - Build Server - Settings?

thanks erel for your reply, i changed the user but got the same error:

 
Upvote 0

ilan

Expert
Licensed User
Longtime User
The thing is that xcode is updating by itself.
I need to check if i can disable it.
I will wait for the next version since i dont know if i can downgrade xcode

thanx erel
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
yes i am able to run the simulator from b4i ide.
but if i compile i still get an error. not the same error but it still gives me an error.
i will try again and upload the error i get when compile to simulator
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
so this is the error i get if i compile to simulator:

(error file included because it is too long)

i also encounter a weird behavior.
if i start my mac mini and opem termial and load the b4i server i get error that could not get xcode version. then i start xcode and i am able to run the b4i server again.
in the past i did not need to open xcode when i wanted to run b4iserver.
maybe i should reinstall xcode?
 

Attachments

  • error1.txt
    251.9 KB · Views: 26
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Search for "error:". The error is:

Build input files cannot be found: '/Users/ilantetruashvili/Downloads/macserver85/UploadedProjects/<user id>/../../Libs/nanopb.framework/nanopb', '/Users/ilantetruashvili/Downloads/macserver85/UploadedProjects/<user id>/../../Libs/FirebaseMessaging.framework/FirebaseMessaging', '/Users/ilantetruashvili/Downloads/macserver85/UploadedProjects/<user id>/../../Libs/GoogleUtilities.framework/GoogleUtilities', '/Users/ilantetruashvili/Downloads/macserver85/UploadedProjects/<user id>/../../Libs/PromisesObjC.framework/PromisesObjC', '/Users/ilantetruashvili/Downloads/macserver85/UploadedProjects/<user id>/../../Libs/GoogleAppMeasurement.framework/GoogleAppMeasurement', '/Users/ilantetruashvili/Downloads/macserver85/UploadedProjects/<user id>/../../Libs/GoogleDataTransport.framework/GoogleDataTransport', '/Users/ilantetruashvili/Downloads/macserver85/UploadedProjects/<user id>/../../Libs/FirebaseInstallations.framework/FirebaseInstallations', '/Users/ilantetruashvili/Downloads/macserver85/UploadedProjects/<user id>/../../Libs/GoogleAppMeasurementIdentitySupport.framework/GoogleAppMeasurementIdentitySupport', '/Users/ilantetruashvili/Downloads/macserver85/UploadedProjects/<user id>/../../Libs/FirebaseCore.framework/FirebaseCore', '/Users/ilantetruashvili/Downloads/macserver85/UploadedProjects/<user id>/../../Libs/FirebaseCoreDiagnostics.framework/FirebaseCoreDiagnostics', '/Users/ilantetruashvili/Downloads/macserver85/UploadedProjects/<user id>/../../Libs/FirebaseAnalytics.framework/FirebaseAnalytics'. Did you forget to declare these files as outputs of any script phases or custom build rules which produce them? (in target 'B4iProject' from project 'B4iProject')

It looks like you are missing firebase libraries: https://www.b4x.com/android/forum/threads/firebase-v3-00-iadmob-v4-00-facebook-9-3.144798/#content
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
hi erel, i tried what you said but it did not help.
besides that i have already compiled succesfully apps that are using admob without issues.
but anyway i downloaded again the zip and tried to run and still on the simulator i am getting a very big crash report. similar to the one above. and if i try on my iphone i am getting this crash report

 
Upvote 0

Sandman

Expert
Licensed User
Longtime User
This seems to be relevant.

error: Bundle identifier is missing. B4iProject doesn't have a bundle identifier. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor. (in target 'B4iProject' from project 'B4iProject')

 
Upvote 0

ilan

Expert
Licensed User
Longtime User
the thing is that using the hosted builder everything works fine without changing anything
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
Are you able to build other projects with your local Mac?
no, not even the default b4i app. i always get this:


can't understand why i am not able to run anything anymore.
i downloaded the local server zip again and put it on my local mac but i dont understand why i get this error.

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