iOS Question B4i-Bridge App doesn't install

George_G

Member
Licensed User
Hello everyone!

I use B4I on my mac (Parallels-Windows 10, Compile: Simulator XCode).
I want to use the iBle Library, so I must compile my app on my iphone.
I have a problem, when I click the button "Install App". Nothing happens.

1. Make sure that B4I certificate is installed and trusted (www.b4x.com/ca.pem). Checked
2. Make sure that the provisioning file includes the target device UDID. Checked

Is there something that I can do?

Thank you in advance.
 

Attachments

  • Screenshot 2021-03-01 at 12.57.03 PM.png
    Screenshot 2021-03-01 at 12.57.03 PM.png
    124.2 KB · Views: 265

George_G

Member
Licensed User
First of all, I am very sorry for the delay.
Thank you again Erel for the temporary id, because I am sure now that I can make the IOS App that I want to. (I made the Android App with B4A, and I want to make the IOS with B4I).
I saw the multiple ips section.
Mac IP address: 192.168.2.3
Windows 10 IP address: 192.168.2.4
key.txt: manual:192.168.2.3

And when I execute the "java -jar B4iBuildServer.jar", I received this error:


Build server version: 7.2


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


2021-03-03 21:02:46.070:INFO::main: Logging initialized @203ms to org.eclipse.jetty.util.log.StdErrLog


Loading default configuration file.


AppPath=/Users/georgegeorgiadis/Desktop/B4iBuildServer


Mac version: 10.16


Xcode path: /Applications/Xcode.app/Contents/Developer


Xcode version: 12.4


Forcing ip address to: 192.168.2.3


2021-03-03 21:02:47.621:INFO:eek:ejs.Server:main: jetty-9.4.z-SNAPSHOT; built: 2018-05-03T15:56:21.710Z; git: daa59876e6f384329b122929e70a80934569428c; jvm 1.8.0_281-b09


2021-03-03 21:02:47.668:INFO:eek:ejs.session:main: DefaultSessionIdManager workerName=node0


2021-03-03 21:02:47.668:INFO:eek:ejs.session:main: No SessionScavenger set, using defaults


2021-03-03 21:02:47.670:INFO:eek:ejs.session:main: node0 Scavenging every 660000ms


2021-03-03 21:02:47.681:INFO:eek:ejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@ff5b51f{/,file:///Users/georgegeorgiadis/Desktop/B4iBuildServer/www,AVAILABLE}


2021-03-03 21:02:47.686:INFO:eek:ejs.AbstractNCSARequestLog:main: Opened /Users/georgegeorgiadis/Desktop/B4iBuildServer/logs/b4j-2021_03_03.request.log


2021-03-03 21:02:47.711:INFO:eek:ejs.AbstractConnector:main: Started ServerConnector@2ac273d3{HTTP/1.1,[http/1.1]}{0.0.0.0:51041}


main._appstart (java line: 129)


java.lang.IllegalStateException: no valid keystore


at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(CertificateUtils.java:50)


at org.eclipse.jetty.util.ssl.SslContextFactory.loadKeyStore(SslContextFactory.java:1071)


at org.eclipse.jetty.util.ssl.SslContextFactory.load(SslContextFactory.java:262)


at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:229)


at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)


at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)


at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)


at org.eclipse.jetty.server.SslConnectionFactory.doStart(SslConnectionFactory.java:72)


at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)


at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)


at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)


at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:279)


at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81)


at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:244)


at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)


at org.eclipse.jetty.server.Server.doStart(Server.java:398)


at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)


at anywheresoftware.b4j.object.ServerWrapper.Start(ServerWrapper.java:220)


at b4j.example.main._appstart(main.java:129)


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)


at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


at java.lang.reflect.Method.invoke(Method.java:498)


at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)


at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)


at b4j.example.main.main(main.java:28)





main.main (java line: 28)


java.lang.RuntimeException: java.lang.IllegalStateException: no valid keystore


at anywheresoftware.b4a.BA.raiseEvent2(BA.java:120)


at anywheresoftware.b4a.BA.raiseEvent(BA.java:78)


at b4j.example.main.main(main.java:28)


Caused by: java.lang.IllegalStateException: no valid keystore


at org.eclipse.jetty.util.security.CertificateUtils.getKeyStore(CertificateUtils.java:50)


at org.eclipse.jetty.util.ssl.SslContextFactory.loadKeyStore(SslContextFactory.java:1071)


at org.eclipse.jetty.util.ssl.SslContextFactory.load(SslContextFactory.java:262)


at org.eclipse.jetty.util.ssl.SslContextFactory.doStart(SslContextFactory.java:229)


at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)


at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)


at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)


at org.eclipse.jetty.server.SslConnectionFactory.doStart(SslConnectionFactory.java:72)


at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)


at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)


at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)


at org.eclipse.jetty.server.AbstractConnector.doStart(AbstractConnector.java:279)


at org.eclipse.jetty.server.AbstractNetworkConnector.doStart(AbstractNetworkConnector.java:81)


at org.eclipse.jetty.server.ServerConnector.doStart(ServerConnector.java:244)


at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)


at org.eclipse.jetty.server.Server.doStart(Server.java:398)


at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)


at anywheresoftware.b4j.object.ServerWrapper.Start(ServerWrapper.java:220)


at b4j.example.main._appstart(main.java:129)


at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)


at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


at java.lang.reflect.Method.invoke(Method.java:498)


at anywheresoftware.b4a.BA.raiseEvent2(BA.java:91)


... 2 more
 
Upvote 0

George_G

Member
Licensed User
I read the instructions of the post that Mr Moster67 sent me.
I am missing macserver-aa ("2.3 Download macserver-aa and copy to the same folder on the Mac")
Except if macserver-aa = B4iBuildServer
 
Upvote 0

George_G

Member
Licensed User
I found what I did wrong.
I had to delete not only the files in the key folder, but also the folder too.
Now the B4IBuildServer is running correctly.

I am trying to download B4I Bridge now, and I will inform you if everything is fine.
Thank you.
 
Upvote 0
Top