iOS Question B4I Bridge doesn't install on iPhone 11

ThePuiu

Active Member
Licensed User
Another day, another problem...
I'm trying to install Bridge on a new phone. I added the phone to the list of my devices in the developer account. I compiled the application and read the link with the QR scanner on the phone. The message that asks me if I want to install the B4i-Bridge application appears....click install and ... nothing.

If I look at the desktop, I see the icon of B4i Bridge application in uninstalled form (a gray raster). If I click on it, the follow message appear: the B4i App cannot be installed. Please try again later.

On my iPad2 and iPhone 6 the application is installed without problems!

B4i v5.8
XCode v11
 

BillMeyer

Well-Known Member
Licensed User
Another Day, Another Challenge, Another Opportunity and Another Solution !!

My suggestion. (Might/Might Not Work)

1. Upgrade B4i to version 6.00
2. Remove the "grayed" app (on your new device) for a fresh install to take place (in other words - delete the app)
3. Go to your B4i IDE
4. Click on Tools-->Build Server-->Server Settings - You will arrive here:

upload_2019-10-5_8-37-58.png


5. Switch to 64-bit and try installing the bridge app again.

You see the only clue that I could get is that you have previously installed on older devices (eg. iPad2 - which is 32-bit) and that this setting could possibly be on 32 bit - your newer devices require 64 bit to run or they will throw the error you mentioned.

Have an Excellent Day !!
 

nwhitfield

Active Member
Licensed User
Isn't there a certificate you need to install first, to allow for the installation of the Bridge app? (Settings, General, About, Certificate trust settings shows a B4i cert enabled on my test devices).
 

Filippo

Expert
Licensed User
Another day, another problem...
I'm trying to install Bridge on a new phone. I added the phone to the list of my devices in the developer account. I compiled the application and read the link with the QR scanner on the phone. The message that asks me if I want to install the B4i-Bridge application appears....click install and ... nothing.

If I look at the desktop, I see the icon of B4i Bridge application in uninstalled form (a gray raster). If I click on it, the follow message appear: the B4i App cannot be installed. Please try again later.

On my iPad2 and iPhone 6 the application is installed without problems!

B4i v5.8
XCode v11
from Erel tutorial:
3. (local builder only) Go to Settings - General - About - Certificate Trust Settings and make sure that B4I is enabled.
 

Filippo

Expert
Licensed User
@Filippo:

In the post above is an image that shows that the setting is active! (the first one)
Yesterday I had the same problem and the problem was with this setting.
 

ThePuiu

Active Member
Licensed User
I'm already on the verge of despair ... Just a few days ago I failed to do anything, errors over errors, code that one day ago is compiled now is full of errors ... and not only on iOS 13 but also on iOS 12
 

ThePuiu

Active Member
Licensed User
:))))) a new "feature".....

after I cleared the contents of the UploadedProjects folder and change User_id value (I noticed that it is not the same thing!), I no longer give the error with the library missing but I have the following error:
B4X:
Application_Start
Configuring the default app.
Error occurred on line: 68 (Main)
Error opening stream (/private/var/mobile/Containers/Data/Application/E19DAFA6-76D2-45A5-B425-A94B0DDB5D67/tmp/virtual_assets/pageloginlayout.bil): Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory" UserInfo={_kCFStreamErrorCodeKey=2, _kCFStreamErrorDomainKey=1}
Stack Trace: (
  CoreFoundation       <redacted> + 252
  libobjc.A.dylib      objc_exception_throw + 56
  CoreFoundation       <redacted> + 0
  ExtraseTrezo         -[B4IFile OpenInput::] + 440
  ExtraseTrezo         -[B4ILayoutBuilder loadLayout:::] + 652
  ExtraseTrezo         -[B4IPanelWrapper LoadLayout::] + 204
  ExtraseTrezo         -[b4i_main _application_start:] + 1632
  CoreFoundation       <redacted> + 144
  CoreFoundation       <redacted> + 292
  ExtraseTrezo         +[B4I runDynamicMethod:method:throwErrorIfMissing:args:] + 1624
 ExtraseTrezo         -[B4IShell runMethod:] + 448
 ExtraseTrezo         -[B4IShell raiseEventImpl:method:args::] + 2172
 ExtraseTrezo         -[B4IShellBI raiseEvent:event:params:] + 1580
 ExtraseTrezo         __33-[B4I raiseUIEvent:event:params:]_block_invoke + 60
 libdispatch.dylib    <redacted> + 24
 libdispatch.dylib    <redacted> + 16
 libdispatch.dylib    <redacted> + 1068
 CoreFoundation       <redacted> + 12
 CoreFoundation       <redacted> + 1924
 CoreFoundation       CFRunLoopRunSpecific + 436
 GraphicsServices     GSEventRunModal + 104
 UIKitCore            UIApplicationMain + 212
 ExtraseTrezo         main + 124
 libdyld.dylib        <redacted> + 4
)
Application_Active
at line 68 is: PageLogin.RootPanel.LoadLayout("PageLoginLayout")
 

ThePuiu

Active Member
Licensed User
and as it gives strange errors, at one point I managed to compile an approximately final version of the application
! Hip hip hooray!
 
Top