I'm looking for a way to control an Amazon FireTV TV on an iOS device. I researched and found that most FireTVs are controlled by the Adb Shell method. But on iOS it is not supported. Is there any way to solve this problem? Thanks !
iOS does not support ADB. Nor does it have any similar debugging interface: Apple carefully avoids providing tools in that style.
Using the ish iOS app you can install adb as part of “apk add android-tools” then adb connect firestick-ip:5555.
Assuming you’ve already installed remote adb on Firestick.
Related
I am looking for a way to automate the taking of screenshots of ios devices. I read about xcrun but that only works on iphone simulators. In android, there is android ADB which allows the sending of instruction to android device via command line.
Is there any tool / library to help me achieve this ?
You can try this tool Fastlane, I haven't tried it myself though.
You need to write a iOS UI test which captures Screen Shot of your app
Use Fastlane to run those test and store it.
Refer this blog for detailed explanation.
Ok, SO here is my thing.
I am working on test automation on iOS devices. And here is what I need to do
Detect ios devices connected to through USB hub(achieved)
Reboot the device using its unique udid (achieved)
Upon rebooting, the device will prompt to enter apple id. Now, I want to know is there any way I can enter the apple id to device prompt through my command line.?
I have been on this since 2 days, and without any luck.
Can anybody here, help me out with a probable solution.
Any help is appreciated.
You can do it installing Apple configurator AND issuing comands like cfgutil.
If you simply type in terminal:
cfgutil
You can see.. (among others...)
restart
Reboot attached devices. (supervised only)
I managed to control my android device with both 'ADB' and 'Appium' on windows system.
Question is : Can I do the same for iPhone ? as i heard that it can't be done in windows platform and it isn't clear on net.
Also wanted to know if the iPhone sdk having tools like ADB 'command line tool' to do some things like make phone call , or press , or swipe ..
I trigger all of that with python scripts.
Thanks
For iPhone automation testing with the help of appium, you must need Mac machine.For iOS app testing using appium, the primary requirement is XCode which comes with only iOS Operating System which you can get only on MacBook/MacMini.
There is no tool like ADB for iOS. Whatever command you want to send to the device, all those needs to be sent through appium driver only. You can check the appium driver, there are lot of in built methods like hiding keyboard or launching app or opening notifications panel etc.
In the React Native documentation (0.40) "Running on Device" for iOS on MacOS, it suggests using adb reverse to connect to the development server over USB. This method is, in fact, the recommended method.
I understand this works for Android, but I wasn't aware it would work for iOS devices. Whenever I try adb reverse tcp:8081 tcp:8081 as per the docs, it gives me error: no devices/emulators found.
After searching on Google for using adb with iOS/iPhone, I wasn't getting anything. I also didn't find anything on React Native's issues regarding it, and Stack Overflow's closest thread is related to debugging with adb, not running React Native (or iOS generally) through USB using adb.
Does anyone have any experience using this method successfully?
As mentioned in comment by jcaron, there was an issue in the doc, adb is Android specific.
A pull request was sent and accepted a few days ago.
The changes are already reflected in the next version: http://facebook.github.io/react-native/releases/next/docs/running-on-device.html
I am using Appium to test mobile apps on iOS. I was wondering if there's a way to enable Developer Options on iPhone and iPad using my Windows PC?
There are many applications and testing frameworks (for example, SeeTestAutomation) that are able to activate this option without the use of X-Code or MacOS, so there must be a way to do it.
The Developer Disk Image needs to be mounted to the Apple mobile device (Xcode does this process automatically when an Apple device is connected to an Apple computer).
You need to install libimobiledevice library on your machine, which comes with the ideviceimagemounter tool. Also, you need to have the correct DeveloperDiskImage and DeveloperDiskImage.signature that's version is the same as the mobile device's iOS version you are trying to connect with.
To use the ideviceimagemounter:
ideviceimagemounter <pathToDeveloperDiskImage> <pathToDeveloperDiskImageSignature>
In case of multiple devices connected, specify the udid of the device:
ideviceimagemounter -u <udid> <pathToDeveloperDiskImage> <pathToDeveloperDiskImageSignature>
To get the UDID of the device:
idevice_id
You can get the DeveloperDiskImage and the Signature of your Apple computer from here:
/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
See this ubuntu manual page for more details.