mortenjust / androidtool-mac

One-click screenshots, video recordings, app installation for iOS and Android
Apache License 2.0
5.43k stars 325 forks source link

No screenshot or video on iPhone 5. [Included terminal output and shot of error message.] #119

Open Derper opened 7 years ago

Derper commented 7 years ago

OSX El Capitan 10.11.6 Xcode 8.2.1 Androidtool 1.66

iPhone 5 iOS 10.2.1

Does get recognised by AndroidTools but I am unable to make a video. It gives the impression it is making a video but when clicked to end the recording I get this error on my screen.

errror message I get on screen when ending the recording. and the code on the message:

Error Domain=AVFoundationErrorDomain Code=-11805 "Cannot Record" UserInfo={AVErrorRecordingSuccessfullyFinishedKey=false, NSLocalizedRecoverySuggestion=Try recording again., NSLocalizedDescription=Cannot Record}

Terminal output:

/Applications/AndroidTool.app/Contents/Resources/convertMovieFiletoGif.sh
###### /Users/fonk/Desktop/AndroidTool
ffmpeg version 2.6.1 Copyright (c) 2000-2015 the FFmpeg developers
  built with llvm-gcc 4.2.1 (LLVM build 2336.11.00)
  configuration: --prefix=/Volumes/Ramdisk/sw --enable-gpl --enable-pthreads --enable-version3 --enable-libspeex --enable-libvpx --disable-decoder=libvpx --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-libx264 --enable-avfilter --enable-libopencore_amrwb --enable-libopencore_amrnb --enable-filters --enable-libgsm --enable-libvidstab --enable-libx265 --disable-doc --arch=x86_64 --enable-runtime-cpudetect
  libavutil      54. 20.100 / 54. 20.100
  libavcodec     56. 26.100 / 56. 26.100
  libavformat    56. 25.101 / 56. 25.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 11.102 /  5. 11.102
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
/Users/fonk/Desktop/AndroidTool/iOS-recording-0302-111513.mov: No such file or directory

Also screenshot does not work on the iPhone. I have seen that error before here https://github.com/mortenjust/androidtool-mac/issues/90 So I installed ideviceinstaller through BREW INSTALL IDEVICEINSTALLER like in issue #90. Did this not help though.

Terminal output:

/Applications/AndroidTool.app/Contents/Resources/takeScreenshotOfDeviceWithUUID.sh
ready to shoot to iOSRoel03022017111859.png
###### /Users/fonk/Desktop/AndroidTool
Exiting.
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/fonk/Desktop/AndroidTool/iOSRoel03022017111859.png does not exist.

Hope someone can help me out.