Closed langtind closed 8 years ago
@langtind I was able to successfully take a screenshot with
Do you see any errors in your terminal output? AndroidTool > Tools > Terminal Output
or โงโO
Thanks for testing @mriddle.
What I did was the following:
I got the following respons in Terminal Output
/Applications/AndroidTool.app/Contents/Resources/getSerials.sh
/Applications/AndroidTool.app/Contents/Resources/takeScreenshotOfDeviceWithUUID.sh
ready to shoot to iOSarild06152016101817.png
###### /Users/arild/Desktop/AndroidTool
Could not start screenshotr service! Remember that you have to mount the Developer disk image on your device if you want to use the screenshotr service.
Warning: rawiosshot.tiff not a valid file - skipping
Error 4: no file was specified
Try 'sips --help' for help using this tool
rm: rawiosshot.tiff: No such file or directory
The file /Users/arild/Desktop/AndroidTool/iOSarild06152016101817.png does not exist.
/Applications/AndroidTool.app/Contents/Resources/getSerials.sh
/Applications/AndroidTool.app/Contents/Resources/getSerials.sh
/Applications/AndroidTool.app/Contents/Resources/getSerials.sh
/Applications/AndroidTool.app/Contents/Resources/getSerials.sh
/Applications/AndroidTool.app/Contents/Resources/getSerials.sh
/Applications/AndroidTool.app/Contents/Resources/getSerials.sh
/Applications/AndroidTool.app/Contents/Resources/getSerials.sh
/Applications/AndroidTool.app/Contents/Resources/getSerials.sh
/Applications/AndroidTool.app/Contents/Resources/getSerials.sh
/Applications/AndroidTool.app/Contents/Resources/takeScreenshotOfDeviceWithUUID.sh
ready to shoot to iOSarild06152016101848.png
###### /Users/arild/Desktop/AndroidTool
Could not start screenshotr service! Remember that you have to mount the Developer disk image on your device if you want to use the screenshotr service.
Warning: rawiosshot.tiff not a valid file - skipping
Error 4: no file was specified
Try 'sips --help' for help using this tool
rm: rawiosshot.tiff: No such file or directory
The file /Users/arild/Desktop/AndroidTool/iOSarild06152016101848.png does not exist.
/Applications/AndroidTool.app/Contents/Resources/getSerials.sh
/Applications/AndroidTool.app/Contents/Resources/getSerials.sh
@langtind I think I see your problem
Here's my output
/Applications/AndroidTool.app/Contents/Resources/takeScreenshotOfDeviceWithUUID.sh
ready to shoot to iOSmriddle06162016095413.png
###### /Users/mriddle/Desktop/AndroidTool
Screenshot saved to rawiosshot.tiff
/Users/mriddle/Desktop/AndroidTool/rawiosshot.tiff
/Users/mriddle/Desktop/AndroidTool/iOSmriddle06162016095413.png
Where /Applications/AndroidTool.app/Contents/Resources/idevicescreenshot -u 42009f3f002a98214c6b1902c0a11e6de43607ed rawiosshot.tiff
is the command that's failing for you.
Could not start screenshotr service! Remember that you have to mount the Developer disk image on your device if you want to use the screenshotr service.
I believe I'm not getting the error you are because I've got xcode installed with the latest iOS SDK and the DeveloperDiskImage was mounted as part of that process.
The README doesn't specify that you need the iOS SDK for this to work but maybe that's changed in the newer versions or was an oversight?
I do have Xcode 7.3.1 installed, so I don't think that could be the case.
After trying some more I did get it to work. All I did was to install ideviceinstaller on my system. (brew install ideviceinstaller
). I'm not sure if this installation also installed some dependencies that are missing in AndroidTool or what it could be, but I did get it to work, so I'm happy!
Thanks for your help @mriddle!
brew install ideviceinstaller
==> Installing dependencies for ideviceinstaller: libtasn1, libxml2, libp
==> Installing ideviceinstaller dependency: libtasn1
==> Downloading https://homebrew.bintray.com/bottles/libtasn1-4.8.el_capitan.bot
######################################################################## 100.0%
==> Pouring libtasn1-4.8.el_capitan.bottle.tar.gz
๐บ /usr/local/Cellar/libtasn1/4.8: 58 files, 436.5K
==> Installing ideviceinstaller dependency: libxml2
==> Downloading https://homebrew.bintray.com/bottles/libxml2-2.9.4.el_capitan.bo
######################################################################## 100.0%
==> Pouring libxml2-2.9.4.el_capitan.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/libxml2/lib
CPPFLAGS: -I/usr/local/opt/libxml2/include
==> Summary
๐บ /usr/local/Cellar/libxml2/2.9.4: 276 files, 9.8M
==> Installing ideviceinstaller dependency: libplist
==> Downloading https://homebrew.bintray.com/bottles/libplist-1.12.el_capitan.bo
######################################################################## 100.0%
==> Pouring libplist-1.12.el_capitan.bottle.tar.gz
๐บ /usr/local/Cellar/libplist/1.12: 28 files, 314.2K
==> Installing ideviceinstaller dependency: libusb
==> Downloading https://homebrew.bintray.com/bottles/libusb-1.0.20.el_capitan.bo
######################################################################## 100.0%
==> Pouring libusb-1.0.20.el_capitan.bottle.tar.gz
๐บ /usr/local/Cellar/libusb/1.0.20: 12 files, 294.3K
==> Installing ideviceinstaller dependency: usbmuxd
==> Downloading https://homebrew.bintray.com/bottles/usbmuxd-1.0.10.el_capitan.b
######################################################################## 100.0%
==> Pouring usbmuxd-1.0.10.el_capitan.bottle.1.tar.gz
๐บ /usr/local/Cellar/usbmuxd/1.0.10: 12 files, 122.4K
==> Installing ideviceinstaller dependency: libimobiledevice
==> Downloading https://homebrew.bintray.com/bottles/libimobiledevice-1.2.0.el_c
######################################################################## 100.0%
==> Pouring libimobiledevice-1.2.0.el_capitan.bottle.tar.gz
๐บ /usr/local/Cellar/libimobiledevice/1.2.0: 65 files, 981.8K
==> Installing ideviceinstaller dependency: libzip
==> Downloading https://homebrew.bintray.com/bottles/libzip-1.1.2.el_capitan.bot
######################################################################## 100.0%
==> Pouring libzip-1.1.2.el_capitan.bottle.tar.gz
๐บ /usr/local/Cellar/libzip/1.1.2: 119 files, 455.2K
==> Installing ideviceinstaller
==> Downloading https://homebrew.bintray.com/bottles/ideviceinstaller-1.1.0_2.el
######################################################################## 100.0%
==> Pouring ideviceinstaller-1.1.0_2.el_capitan.bottle.tar.gz
๐บ /usr/local/Cellar/ideviceinstaller/1.1.0_2: 7 files, 63K
Testing AndroidTool:
/Applications/AndroidTool.app/Contents/Resources/takeScreenshotOfDeviceWithUUID.sh
ready to shoot to iOSarild06172016084426.png
###### /Users/arild/Desktop/AndroidTool
Screenshot saved to rawiosshot.tiff
/Users/arild/Desktop/AndroidTool/rawiosshot.tiff
/Users/arild/Desktop/AndroidTool/iOSarild06172016084426.png
๐๐ป
Taking screenshots doesn't work for me on iOS-device. Screen recording works as expected. Everything works on Android-devices.
Testing with: