To connect to an emulator, such as Manticore or a local Ubuntu SDL Core-based emulator, make sure to implement a TCP (
debug) connection. The emulator and app should be on the same network (i.e. remember to set the correct IP address and port number in the
SDLLifecycleConfiguration). The IP will most likely be the IP address of the operating system running the emulator. The port will most likely be
Known issues due to using a TCP connection:
To connect your iOS device directly to a vehicle head unit or TDK, make sure to implement an iAP (
default) connection in the
SDLLifecycleConfiguration. Then connect the iOS device to the head unit or TDK using a USB cord or Bluetooth if the head unit supports it.
If you are testing with a vehicle head unit or TDK and wish to see debug logs in Xcode while the app is running, you must either use another app called the relay app to help you connect to the device, or you may use Xcode 9 / iOS 11 wireless debugging. When using the relay app, make sure to implement a TCP connection, if using iOS 11 wireless debugging, implement a IAP connection. Please see the guide for the relay app to learn how to set up the connection between the device, the relay app and your app.
The same issues apply when connecting the relay app with a TDK or head unit as do when connecting to SDL Core. Please see the issues above, under the Connect with an Emulator heading.