ilan Expert Licensed User Longtime User Jan 8, 2024 #1 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] Click to expand... 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?
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] Click to expand... 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 Jan 16, 2024 #21 Erel said: 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". Click to expand... 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 said: 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". Click to expand... 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?
Erel B4X founder Staff member Licensed User Longtime User Jan 17, 2024 #22 ilan said: Is the hosted builder also running MacOs Sonoma? Click to expand... 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 said: Is the hosted builder also running MacOs Sonoma? Click to expand... 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
ilan Expert Licensed User Longtime User Jan 17, 2024 #23 Erel said: 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 Click to expand... 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
Erel said: 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 Click to expand... 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.
ilan Expert Licensed User Longtime User Jan 17, 2024 #24 Ok Erel the Solution was to install Rosetta 2 /usr/sbin/softwareupdate --install-rosetta --agree-to-license Click to expand... 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 ??? Upvote 0
Ok Erel the Solution was to install Rosetta 2 /usr/sbin/softwareupdate --install-rosetta --agree-to-license Click to expand... 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 ???