openstf / ios-minicap

iOS Minicap provides a socket interface for streaming realtime screen capture data out of iOS devices.
Other
434 stars 130 forks source link

Cannot use iPhone8_ios11.3.1, This app is not authorized to use iPhone8_ios11.3.1 #50

Closed yuzhidi closed 5 years ago

yuzhidi commented 5 years ago

Steps to reproduce $ bash run.sh ++ system_profiler SPUSBDataType ++ sed -n -E -e '/(iPhone|iPad)/,/Serial/s/ Serial Number: (.+)/\1/p'

Expected results

can use ios-minicap

Actual results Cannot use iPhone8_ios11.3.1 This app is not authorized to use iPhone8_ios11.3.1

Environment(version of libraries, mac OS, iOS, etc) macOS Mojave 10.14

sorccu commented 5 years ago

Did you click on “trust this computer” on the phone?

yuzhidi commented 5 years ago

Did you click on “trust this computer” on the phone?

I chose 'trust this computer', but other info notice on Mac it generally say "trust the computer to access the camera on the device', I chose not allow

CC-q commented 5 years ago

@yuzhidi Hello~ I met the same question with u, have u solved it ? If yes, could u tell me the answer?

William-HL1991 commented 5 years ago

I met the same problem too. The build tools is Xcode10, when i build the project ,it return

CMake Warning at /usr/local/Cellar/cmake/3.12.4/share/cmake/Modules/Platform/Darwin-Initialize.cmake:125 (message):
  Ignoring CMAKE_OSX_SYSROOT value:

   /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk

  because the directory does not exist.
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.12.4/share/cmake/Modules/CMakeSystemSpecificInitialize.cmake:21 (include)
  CMakeLists.txt:2 (project)

-- Configuring done
-- Generating done
-- Build files have been written to: /Users/user/Downloads/ios-minicap/build
[ 14%] Building CXX object CMakeFiles/ios_minicap.dir/src/minicap.cpp.o
In file included from /Users/user/Downloads/ios-minicap/src/minicap.cpp:1:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/stdio.h:108:15: fatal error: 'stdio.h' file not
      found
#include_next <stdio.h>
              ^~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/ios_minicap.dir/src/minicap.cpp.o] Error 1
make[1]: *** [CMakeFiles/ios_minicap.dir/all] Error 2
make: *** [all] Error 2

After that,When i run the script, have the same problem.

kungger888 commented 5 years ago

@yuzhidi I met the same question, My version of the system is macOS Mojave 10.14.2 and My mobile is iPhone XS MAX.have you solved it?

zhaoxuncn commented 5 years ago

I met the same question, and sloved it. on mac find "system Preferenecs" -> "Security & Privacy" -> "Camera" -> check "Terminal" image

sorccu commented 5 years ago

Awesome finding. Thanks for sharing!

On Tue, Apr 9, 2019 at 13:01 songzx notifications@github.com wrote:

I met the same question, and sloved it. on mac find "system Preferenecs" -> "Security & Privacy" -> "Camera" -> check "Terminal" [image: image] https://user-images.githubusercontent.com/13272336/55772534-2eaf3b00-5abf-11e9-8215-73808aa69d8f.png

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/openstf/ios-minicap/issues/50#issuecomment-481092954, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB-_f_UPCG4hfbdBIY-htJulJlvlVOeks5vfBCkgaJpZM4YyrAf .

yuzhidi commented 5 years ago

thx @kungger888