iOS Question B4i Bridge Doesn't Run

Jim McDougal

Member
Licensed User
I renewed my hosted builder subscription in early March and then was away from my development for the next two months. When I returned my B4i Bridge would not run (nor would several apps under development). I went to reinstall B4i and realized I needed to renew my Apple certificates and mobile provision profiles. Once I did that, B4i Bridge installed OK and the hosted builder now successfully compiles my apps, but nothing launches in debug mode or will install with Build Release App. In both cases the compile results advise "Make sure that B4i-Bridge is started".

I'm running v8.51 but can't seem to figure out how to upgrade to v8.80.
 

hatzisn

Expert
Licensed User
Longtime User
Probably a good thing would be to check your e-mail because if you qualify for renewing versions then definitely you have received the e-mail from Anywhere Software.
 
Upvote 0

hatzisn

Expert
Licensed User
Longtime User
Try also to close all three devices Router, iPhone and laptop and reopen them.
 
Upvote 0

hatzisn

Expert
Licensed User
Longtime User
What is your iPhone model and iOS version?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Do you see this dialog on the device?

1746338539931.jpeg
 
Upvote 0

Jim McDougal

Member
Licensed User
Yes, I see that dialog (I am able to build and install B4i-Bridge). I renamed the project from "Example" to "B4i-Bridge". On install I'm allowing B4i Bridge to find devices on local networks (not sure if this makes any difference). I have an iPhone 15 running iOS 18.4.1.
Install B4i Bridge.PNG


and when I build the release app I get this (all my apps do it). Debug is similar in that I get the "Make sure that B4i-Bridge is started" comment.

Build Release and Debug.jpg


The "waiting to connect" message disappears immediately on launching B4i Bridge and the correct IP address shows as connected in the Device IP Address list.
I upgraded to v8.80 but no there's no change in behavior.

B4X:
'Code module
'
    #CertificateFile: ios_distribution (2).cer
    #ProvisionFile: 2025AdHoc2.mobileprovision

#Region  Project Attributes
    #ApplicationLabel: B4i Example
    #Version: 1.0.0
    'Orientation possible values: Portrait, LandscapeLeft, LandscapeRight and PortraitUpsideDown
    #iPhoneOrientations: Portrait, LandscapeLeft, LandscapeRight
    #iPadOrientations: Portrait, LandscapeLeft, LandscapeRight, PortraitUpsideDown
    #Target: iPhone, iPad
    #ATSEnabled: True
    #MinVersion: 8
#End Region

Sub Process_Globals
    'These global variables will be declared once when the application starts.
    'Public variables can be accessed from all modules.
    Public App As Application
    Public NavControl As NavigationController
    Private Page1 As Page
    Private xui As XUI
End Sub

Private Sub Application_Start (Nav As NavigationController)
    NavControl = Nav
    Page1.Initialize("Page1")
    Page1.RootPanel.LoadLayout("Page1")
    NavControl.ShowPage(Page1)
End Sub

Sub Button1_Click
    xui.MsgboxAsync("Hello world!", "B4X")
End Sub

Private Sub Page1_Resize(Width As Int, Height As Int)
 
End Sub
 
Last edited:
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
1. Release apps are not started automatically. You should find the app on the home screen and start it.
2. Debug apps should start automatically however you can also start them manually.

If you don't see the newly installed app then it might have been removed from the home screen. This can be confusing. Search for it in the "all apps" page (slide to the right to see it).
 
Upvote 0

Jim McDougal

Member
Licensed User
The release app does not appear on the home screen and I do not find it on the "all apps" page either. The behavior you describe above in 1. and 2. is exactly what I have seen previously in my B4i development, but that is not how the tools are performing now.
 
Upvote 0

Jim McDougal

Member
Licensed User
I created a new app "DeadBridgeTest". No app icon appears after running in release mode (home screen or app library). No change.

Then, I bumped #MinVersion to 12. Still no change. Checked these changes with my new test apps and also previous apps that had successfully installed to device in release mode before this problem presented itself. None of these apps are working now. All apps are compiling successfully in both debug and release mode with the admonition "Make sure that B4i-Bridge is started (10.0.0.101)" as shown in my post above, however B4i Bridge is started. Designer WYSIWYG is connected and functional on my test device:

WYSIWYG.png


Very grateful for your interest and support on this very (for me) perplexing issue!
 
Upvote 0

Ender1969

Member
Licensed User
I started another thread with the same problem and several devices and iOS.

 
Upvote 0

Helcione Madalena

Member
Licensed User
Longtime User
I have a similar problem, trying to install B4i-Bridge on an IOS 18.5 (iPhone 15)

I can't complete the installation, when I click on the app, the message below appears:

Unable to install the B4i-Bridge app
This app cannot be installed because its integrity could not be verified.
 
Upvote 0

Alex_197

Well-Known Member
Licensed User
Longtime User
I have a similar problem, trying to install B4i-Bridge on an IOS 18.5 (iPhone 15)

I can't complete the installation, when I click on the app, the message below appears:

Unable to install the B4i-Bridge app
This app cannot be installed because its integrity could not be verified.
 
Upvote 0
Top