iOS Question Debug and wifi

defillo

Member
Licensed User
Longtime User
I have this problem.
developing an App with connection to a wifi module ESP8266.
There's no way to debug the app as soon as I need to have the windows pc connected to the internet (for hosted builder) and I cannot connect to the module while running.
Looks like a HUGE limitation...
any idea?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
Looks like a HUGE limitation...
So you want to develop native iOS apps, on Windows with a remote Mac compiler while the device is connected to a different network? This is quite an edge case.

1. Why don't you connect the ESP8266 to the network that the PC is connected to?
2. You can compile your app in release mode and it will run without being connected to the IDE.
3. A bit more tricky, you can compile your app in debug mode and start it. Then connect the PC to the ESP8266 network and run the app again. It will not need a full compilation so the hosted builder will not be needed.
 
Upvote 0

defillo

Member
Licensed User
Longtime User
not that easy. app needs a direct connection to the module. i can connect the pc to the esp and the phone to the esp and bridge works , but I don't have access to the internet so no hosted builder available. if I start the debug and then I connect to the esp wifi, i don't have the logs output so debug is difficult.. actually i compile in release and then switch to esp, but that way I don't have any debug benefit. just check if it works or not. and requires so much more time that is really frustating.. I will arrange to connect the module to the local wifi and work that way but I also need to modify the board firmware to match this situation.. then revert to the original way once debugged..
still convinced that this is a huge limitation..
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…