Closed philipsTanoto closed 7 years ago
flick uses idevice library, you need to uninstall the library and install with HEAD, to get it working with ios10
brew uninstall ideviceinstaller brew uninstall --ignore-dependencies libimobiledevice brew install --HEAD libimobiledevice brew unlink libimobiledevice && brew link libimobiledevice brew install --HEAD ideviceinstaller brew unlink ideviceinstaller && brew link ideviceinstaller
thank you @saikrishna321! @philipsTanoto please follow this instructions to reinstall ideviceinstaller and try again.
Im setting this to wontfix. If the steps @saikrishna321 didn't help then I will reopen.
It is working now, thanks @saikrishna321 @isonic1 !
@isonic1, libmobiledevice working good with ios11,
but flick can't get device log:
UDID: <my_udid> - Is not paired with your machine! Run: idevicepair -u <udid> pair If not working still, see: https://github.com/isonic1/flick/issues/10
Hmm, you went through the steps to uninstall and reinstall the ideviceinstaller libraries? is it just logs that doesn't work or can you capture a screenshot on iOS with flick? If the latter, it could be an issue with ideviceinstaller needing updating for iOS 11.
at first idevicesyslog not working with ios11 after reinstall/relink the ideviceinstaller libraries, idevicesyslog working good
but flick still get error no, its not only log, screenshoting not working too.
Ah ok. Yeah, probably brew hasn't got the latest fix that was put in for the issue below. I don't have ios 11 installed yet. would you mind trying the command below to install the iOS 11 libimobiledevice libraries below?
https://github.com/libimobiledevice/libimobiledevice/issues/510
brew install https://gist.github.com/Haraguroicha/0dee2ee29c7376999178c5392080c16e/raw/libimobiledevice.rb --HEAD --with-ios11
its not helped me
if update libmobiledevice
brew install --HEAD libimobiledevice https://gist.github.com/Haraguroicha/0dee2ee29c7376999178c5392080c16e/raw/libimobiledevice.rb --HEAD --with-ios11_ ######################################################################## 100,0% Warning: libimobiledevice HEAD-5a85432_2 is already installed
if uninstall/install libmobiledevice
brew uninstall --ignore-dependencies libimobiledevice brew install https://gist.github.com/Haraguroicha/0dee2ee29c7376999178c5392080c16e/raw/libimobiledevice.rb --HEAD --with-ios11 ######################################################################## 100,0% ==> Cloning https://git.libimobiledevice.org/libimobiledevice.git Updating /Users/a.alterpesotskiy/Library/Caches/Homebrew/libimobiledevice--git ==> Checking out branch master ==> Downloading https://gist.githubusercontent.com/nikias/b351bf633d62703e0ff4f2 ######################################################################## 100,0% ==> Patching ==> Applying validate_pair_fix.diff patching file src/idevice.c Hunk #1 FAILED at 256. 1 out of 1 hunk FAILED -- saving rejects to file src/idevice.c.rej patching file src/idevice.h Hunk #1 FAILED at 76. 1 out of 1 hunk FAILED -- saving rejects to file src/idevice.h.rej patching file src/lockdown.c Hunk #1 succeeded at 720 with fuzz 2 (offset 13 lines). Hunk #2 FAILED at 749. 1 out of 2 hunks FAILED -- saving rejects to file src/lockdown.c.rej Error: Failure while executing: /usr/bin/patch -g 0 -f -p1 -i /private/tmp/libimobiledevice--patch-20170915-65205-11a9ia5/validate_pair_fix.diff
ah, bummer was hoping that would work. iOS 11 isn't officially released until next week. Im hoping brew will have the updated fix for it by then.
sorry, but I don't understand idevicesyslog and idevicescreenshot working good on iOS11, why it's not working with flick? and what this is the brew fix?
@alter-al what is the issue your facing ? wat does flick log say ?
Thanks @saikrishna321 . Yes, please run flick with --trace and copy paste the output in the terminal. Thanks.
@alter-al i use flick and it works fine with iOS11 ...
@alter-al try now with the latest gem. Apparently, iOS 11 removed the ability to validate a paired device so tweaked that logic a bit.
Make sure you have latest Xcode and command line tools installed and the device is not locked. Also, make sure you can see the Developer menu options in the Settings.
@isonic1, thank you! When updated flick to 0.4.2, all works awesome (even with XCode 8.3.3)
Not able to get any video using the command "flick video -a start -p ios -s 0.5 -c 6000" followed by "flick video -a stop -p ios -s 0.5 -c 6000" on Xcode 8, iOS 10.
No file was created, and "error: No such file or directory - (, ), User --trace to view backtrace." was observed.
same error message with --trace: note: username, directory and UDID is removed from log for privacy.
/Library/Ruby/Gems/2.0.0/gems/flick-0.2.4/lib/flick/video.rb:142:in
rename': No such file or directory - (/Users/<user_name>/.flick/<UDID>.mp4, /Users/<user_name>/<UDID>.mp4) (Errno::ENOENT) from /Library/Ruby/Gems/2.0.0/gems/flick-0.2.4/lib/flick/video.rb:142:in
mp4' from /Library/Ruby/Gems/2.0.0/gems/flick-0.2.4/lib/flick/video.rb:130:instop_screenshot_recording' from /Library/Ruby/Gems/2.0.0/gems/flick-0.2.4/lib/flick/video.rb:51:in
stop' from /Library/Ruby/Gems/2.0.0/gems/flick-0.2.4/lib/flick/video.rb:25:inrun' from /Library/Ruby/Gems/2.0.0/gems/flick-0.2.4/bin/flick:32:in
block (2 levels) in <top (required)>' from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:incall' from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in
call' from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:153:inrun' from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in
run_active_command' from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/runner.rb:68:inrun!' from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in
run!' from /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/import.rb:5:in `block in <top (required)>'