iOS Question App crashes after 1-2 second [SOLVED]

ilan

Expert
Licensed User
Longtime User
hi

my userid for the hosted builder has expired (i have also a local builder but for some reason it never works well) so i renewed it and i try to run an app (b4xpages).
the problem is that the app crashes immediately after i compile it. It does not matter what i do it just crashes and all logs i get is this:

Application_Start
SignalHandler 6
*** mainpage: B4XPage_Created
*** mainpage: B4XPage_Appear [mainpage]
*** mainpage: B4XPage_Resize [mainpage]
Application_Active
*** shoppinglist: B4XPage_Created [mainpage]
even if i put breakpoints at the beginning of the app it crashes.
i tried to uninstall and install both b4i builder and app but same results.
the app runs well on b4a but b4i crashes on start and no logs.

i cannot post the whole project here.
any ideas why i am not getting anything helpful in the logs?
 

ilan

Expert
Licensed User
Longtime User
Worth trying.

Other users were able to solve this issue "The request was denied by service delegate (SBMainWorkspace)" by manually starting the simulator with "open -a Simulator".
ok after spending 1,5 hour i could not get it to work. Starting the simulator manually also did not help. i have no idea what i can do more.
Is the hosted builder also running MacOs Sonoma?
Maybe that is the issue?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Is the hosted builder also running MacOs Sonoma?
Yes and also my local Mac.

You can try to install it on the simulator yourself and see what happens.
Run the app in release mode while targeting the simulator.
Go to the builder folder/UploadedProjects/<user name>/Payload
Run from the terminal:
xcrun simctl install booted <app name>.app
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
Yes and also my local Mac.

You can try to install it on the simulator yourself and see what happens.
Run the app in release mode while targeting the simulator.
Go to the builder folder/UploadedProjects/<user name>/Payload
Run from the terminal:
xcrun simctl install booted <app name>.app
ok i did that. i install the app and it was installed to the simulator but clicking on the app icon the app starts and crashes immediately like when i run it from the IDE.
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
Ok Erel the Solution was to install Rosetta 2
/usr/sbin/softwareupdate --install-rosetta --agree-to-license

if i go the the app that b4i is creating i can see in "Get info" that it is made for Intel processor this is why i could not run it on my Mac mini 2022 that has M2 chip. After installing manually Rosetta 2 i am back in the game ?

Thank you very much for your patience and support ???


1705517462015.png
 
Upvote 0
Top