I asked for the teamviewer because I believe I have covered everything in the cases that could prevent the IDE and the iPhone from communicating. Recapping what I have checked here is a total list:
1) Ping is Ok from command line
2) No ping error when trying to connect from the IDE (yet no connection)
3) Upgraded to iOS 12.1.2
4) Deleted all my keys and provisioning profiles and corresponding certificates and have recreated them
5) Opened inbound and outbound connection holes in the port 58191 through firewall
6) Changed the iPhone's wlan address to 192.168.1.10
7) Added this address to b4i again with no luck
8) Tried to connect to the previous address (192.168.1.7) from B4i and got the ping error msgbox (just to check that it actually tries to connect)
9) Tried to connect from b4i to an address that does not exist f.e. 192.168.1.255 and got the ping error msgbox (just to check that it actually tries to connect)
10) My router has only one SSID so the device is definitely connected to the same network
11) I am able to connect to B4A bridge with no problem so no network issue.
12) I have tried by setting to 32 bit architecture in b4i and building the bridge with no luck (I have switched back to 64bit).
13) I checked the IPs in the router for any possible conflicts.
14) I have uninstalled and have reinstalled B4i-Bridge. When I click on b4i-bridge, no matter what it stays in progress dialog with "Device IP 192.168.1.7 - Waiting for the IDE to connect to B4i-Bridge".
15) Connected both devices (iPhone and laptop) to my brother's router with no result
16) Connected both devices back to my network and have set both in iPhone and my desktop to use DHCP to get IP because both devices' IPs were manually inserted
17) Rebooted both devices (iPhone and Desktop) to get dynamic IPs
18) Wiped out completely the iPhone and started as a new iPhone without restoring from the cloud
19) Tried to access my IIS in desktop from Safari and the result was successful
20) I have deactivated the web shield in Avast Antivirus tried to connect from B4i with no result and have reactivated the web shield.
Do you see anything missing in this list?
The only common things that my laptop and my desktop have are: Windows 10, MS Office 2010, Avast Antivirus, B4A, B4i, B4J and B4R.
Yet in both no connection between the IDE and B4i. The other common factor in the anticipated communication, is the iPhone 5S in which I don't have a lot of experience.
That is why I asked you for the Teamviewer. If you don't want to support me with teamviewer since you have the source code of B4i and you are able to debug in this code may I ask you to do the following:
1) install Avast Antivirus
2) Build b4i bridge
3) Install b4i bridge in your iPhone 5S
4) And at last by debugging try to connect with to b4i-bridge and check with this configuration if there is a problem in communications?
Edit - Since B4i bridge is built seperately for each user do you think that the problem might be connected to the building of B4i bridge in the hosted builder?