Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debug logs are not printed to iphone systen log when running ios-deploy command over Wi-Fi connected iPhones. #595

Open
9 tasks done
pothurajtharun opened this issue Oct 30, 2023 · 0 comments

Comments

@pothurajtharun
Copy link

pothurajtharun commented Oct 30, 2023

Expected behavior

The iOS mobile is connected over Wi-Fi, running the following command in terminal ios-deploy --debug --justlaunch --bundle /MobileApps/ios/Payload/Runner.app the app should print some debug logs to iPhone System Log. Example flutter: The Dart VM service is listening on

Actual behavior.

After running the following command in terminal ios-deploy --debug --justlaunch --bundle /MobileApps/ios/Payload/Runner.app the app is not printing the expected debug logs to iPhone system log which is connected over Wi-Fi.

Steps to reproduce the problem

  1. Connect the iPhone device over Wi-Fi to the mac system as follows.
  2. Open Xcode->Window->Devices and Simulators->Select Device->Connect via network.
  3. Take any flutter based ipa file.
  4. Unzip it as mentioned here
  5. Move to the directory and run the command ios-deploy --debug --justlaunch --bundle /MobileApps/ios/Payload/Runner.app

System Specs

Please run the commands below in your Terminal.app and include it in the issue. Check when done and include results below.

  • 1. system_profiler SPSoftwareDataType
    System Version: macOS 13.5 (22G74)
    Kernel Version: Darwin 22.6.0
    Boot Volume: Macintosh
    Boot Mode: Normal
    User Name: Tharun Pothuraj (tharunpothuraj)
    Secure Virtual Memory: Enabled
    System Integrity Protection: Enabled
    Time since boot: 6 hours, 38 minutes
  • 2. ios-deploy -V
    1.12.2
  • 3. xcodebuild -version
Xcode 15.0
Build version 15A240d
  • 4. xcode-select --print-path
    /Applications/Xcode.app/Contents/Developer
  • 5. gcc --version
Apple clang version 15.0.0 (clang-1500.0.40.1)
Target: x86_64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
  • 6. lldb --version
lldb-1500.0.22.8
Apple Swift version 5.9 (swiftlang-5.9.0.128.108 clang-1500.0.40.1)
  • If using NodeJS/npm
    • 7. npm -v
      9.5.1
    • 8. node -v
      v18.16.0

Note: The same command ios-deploy --debug --justlaunch --bundle /MobileApps/ios/Payload/Runner.app printed the debug logs to the iPhone system log when it is connected using USB cable.

@pothurajtharun pothurajtharun changed the title Debug logs are not printed to iphone systen log when we run ios-deploy command over Wi-Fi connected iPhones. Debug logs are not printed to iphone systen log when running ios-deploy command over Wi-Fi connected iPhones. Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant