iOS Question How to debug app crashing when app uses WiFi?

Turbo3

Active Member
Licensed User
Longtime User
My app uses WiFi to communicate with an OBDII adapter. For one brand adapter (PLX) sending the string "ATZ" causes my app to crash. This is very strange as no other adapter has ever acted this way.

For a normal crash I would just use the Debugger and look at the crash data in the Logs window. But that is not an option since the debugger needs the WiFi to connect to the test iOS device.

How can I collect crash data to help identify the problem?

Is there some way to use the USB connection to collect crash data?

Can crash data be logged to a file on the iOS device?
 

Turbo3

Active Member
Licensed User
Longtime User
Not sure I understand. To use the OBDII WiFi adapter I need to go into the iOS Settings/Wi-Fi menu and select the OBDII WiFi adapter which means I am disconnected from my home network. The home network is what the debugger uses. The OBDII WiFi is also setup as Static so it is really a point to point WiFi with only two points.

I don't know anyway to have two different networks connected at the same time.
 
Upvote 0

Turbo3

Active Member
Licensed User
Longtime User
No, remote.

So the local Mac would attach to the iOS device through the USB cable?

This is a Mac but I am running it in Windows mode (BootCamp) so can't use it for local build.
 
Last edited:
Upvote 0
Top