|Table of Contents|
When using Safari Web Inspector to debug your Titanium iOS apps, see Debugging iOS Apps with 3rd-party Tools for details!
Titanium SDK 3.0 enables Studio to initiate a debug session on an iOS device. Debugging on an iOS device involves the following steps:
Debugging on iOS devices is only supported on OS XmacOS. You must already be set up to run applications on your iOS device, as documented in Deploying to iOS devices.
- Be able to to install applications on your iOS device from Studio. (If you haven't installed an application on your device yet, review the steps in Deploying to iOS devices.)
- Have Titanium SDK Release 3.0 or later installed.
- Have Studio version 3.0 or later installed.
- Connect the OS X machine Connect the macOS machine and the device to the same wireless (Wi-Fi) network. The debugger protocol runs over the network (a cable does not serve as an alternative).
If you do not have a suitable Wi-Fi network available, you can create an ad-hoc network on your computer and connect to it using your device. See
OS X Mountain LionmacOS: Create a computer-to-computer network on the Apple Support site for directions on creating an ad-hoc network.
Troubleshooting iOS On-Device Debugging Problems
Cannot See the iOS Device Option in the Debug Drop-Down Menu
- Make sure the Titanium SDK selected in
tiapp.xmlis Release 3.0 or later.
iTunes Fails to Sync the Application to the Device After First Launch