Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an equivalent to 'adb shell input keyboard text' for iOS?

For Android devices, we can use the Android Debug Bridge to invoke the input program and send arbitrary strings so that the device will react as though the text was typed by the user on the device.

For iOS, the closest hack I have found is to make Linux look like a wireless keyboard and that particular hack seems to no longer work with the latest iPad on Ubuntu 13.10. Moreover, even if it worked, it would be less flexible than input keyboard text because one could not copy and paste a string to send.

Is there an iOS equivalent to adb shell input keyboard text?

like image 305
merlin2011 Avatar asked Dec 14 '14 21:12

merlin2011


People also ask

Is there something like ADB for iOS?

XCRUN is a dedicated one for iOS and ADB is a dedicated one for Android, which cannot be used vice-versa. What is XCRUN? device can be controlled. If you compare with the Android platform, it is almost equivalent to ADB(Android Debug Bridge).

Is there an ADB for Apple?

The ADB is Apple Computer's standard interface for input devices such as keyboards and mouse devices.

What does adb debugging do?

Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device. The adb command facilitates a variety of device actions, such as installing and debugging apps, and it provides access to a Unix shell that you can use to run a variety of commands on a device.


1 Answers

Unlike Android, there is no way to directly issue text to an iOS device in real time through any sort of command line interface that I am aware of. If you are trying to do some automation/testing on the device, you can use the xcode command line tools and instruments, but otherwise you are out of luck.

That being said, if you jailbreak your device, you can do anything you'd like, including remote data input.

like image 85
Steve B Avatar answered Sep 28 '22 01:09

Steve B