Use an iOS device with Xcode
For Xcode dependencies to operate or debug applications, see the Xcode release notes at https://developer.apple.com/documentation/xcode_release_notes/xcode_11_2_beta_2_release_notes#overview. Xcode 11.2 Beta 2 can work with iOS 13.2.
To connect the device using DevTunnel:
-
Be sure to download the device iOS symbols by clicking the Download iOS Symbols button if it appears, as shown in the following dialog:
-
Important: Verify that the XCode project and device are configured properly for working in XCode:
- In the project attributes panel, configure project signing to work with a development team, or a "Personal Team."
You can use your Apple ID to generate a Personal Team. Select the device to add it to your Personal Team development account.
- Configure the device to trust your development team license (Settings > General > Profiles or Settings > Device Management).
- Verify that the project is configured with a Deployment target that covers the iOS version of the connected device.
- In the project attributes panel, configure project signing to work with a development team, or a "Personal Team."
To connect the device using DevTunnel:
-
Start the Safari browser on the device and navigate to the target web page.
- After the DevTunnel connection is established, start Safari on the development station.
-
Find the connected device in the list of Develop targets.
-
Click the web page URL. The Web Inspector page is displayed with the source code of the mobile Safari page:
- Use the Web Inspector to examine or debug the page, interacting with the device from the Perfecto Lab Interactive tab.
-
Use an open-source tool called ios-deploy, which installs the .ipa file without using Xcode.
To install ios-deploy, follow the installation instructions in the Readme.md file.
Connect the device in a DevTunnel session and execute the following command:
Copyios-deploy -b MyApplication.ipa
The .ipa will be installed on your device with the proper debugging entitlements.