I have one iOS device running iOS 16.7.10. When I run xcrun devicectl list devices
I can't see that device at all. Is that know limitation (devicectl only work in iOS 17 and above) or is something wrong with my setup.
Also is there some documention about devicectl
. I can't seem to find anything about in the offical apple sites.
Thanks for the post.
The devicectl command, accessible through the Xcode command-line tools, may have limited availability and functionality for specific versions of macOS and iOS. Could you please provide the version of Xcode you are currently using?
Xcode 16, released recently, introduces significant enhancements and improvements, as outlined in the following documentation: https://developer.apple.com/documentation/xcode-release-notes/xcode-16-release-notes
One notable improvement is the enhancement to the process launch time of the devicectl command line tool, as reported in the release notes: (119057359)
I believe the devicectl is primarily designed to function with iOS 17 and later.
For the most reliable and comprehensive iOS device management and development experience, Xcode is the preferred tool. Here’s how you can connect and interact with your iOS device using Xcode:
- Connect your iOS device: Use a USB cable to connect your iOS device running iOS 16.7.10 to your Mac.
- Open Xcode: Launch Xcode on your Mac.
- Window > Devices and Simulators: From the Xcode menu bar, select “Window” and then “Devices and Simulators.”
- In the “Devices” section, you should see your connected iOS device listed.
- Select your device: Click on your device in the sidebar to select it.
Utilizing Xcode is the standard and recommended approach for iOS developers, irrespective of the iOS version they are using. It provides a comprehensive suite of tools and features tailored for development, debugging, and testing purposes.
Kindly ensure that Xcode 16 is installed on your system.
Albert Pascual Worldwide Developer Relations.