Skip to content

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

@pothurajtharun

Description

@pothurajtharun

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions