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

ios-deploy -c -j does not return correct json format #592

Open
7 tasks
smallppgirl opened this issue Aug 15, 2023 · 1 comment
Open
7 tasks

ios-deploy -c -j does not return correct json format #592

smallppgirl opened this issue Aug 15, 2023 · 1 comment

Comments

@smallppgirl
Copy link

MUST READ BEFORE YOU FILE (DELETE THIS SECTION BEFORE FILING)

Include the command line arguments you used for ios-deploy.

ios-deploy -c -j

Expected behavior

{
"Event" : "DeviceDetected",
"Interface" : "USB",
"Device" : {
"BuildVersion" : "19H218",
"modelSDK" : "iphoneos",
"DeviceIdentifier" : "xxxxxxxxxx",
"DeviceClass" : "iPhone",
"ProductType" : "iPhone8,1",
"DeviceName" : "“Pinky Trump”的 iPhone",
"ProductVersion" : "15.7.2",
"modelArch" : "arm64",
"HardwareModel" : "N71mAP",
"modelName" : "iPhone 6s"
}
},{
"Event" : "DeviceDetected",
"Interface" : "USB",
"Device" : {
"BuildVersion" : "19D52",
"modelSDK" : "iphoneos",
"DeviceIdentifier" : "xxxxxxxxxxxx",
"DeviceClass" : "iPhone",
"ProductType" : "iPhone14,4",
"DeviceName" : "xxxxx iPhone",
"ProductVersion" : "15.3.1",
"modelArch" : "arm64e",
"HardwareModel" : "D16AP",
"modelName" : "iPhone 13 Mini"
}
}

Actual behavior. (it returns a wrong format (missing "," between 2 dicts {}, extra % at the end)

{
"Event" : "DeviceDetected",
"Interface" : "USB",
"Device" : {
"BuildVersion" : "19H218",
"modelSDK" : "iphoneos",
"DeviceIdentifier" : "xxxxxxxxxx",
"DeviceClass" : "iPhone",
"ProductType" : "iPhone8,1",
"DeviceName" : "“Pinky iPhone",
"ProductVersion" : "15.7.2",
"modelArch" : "arm64",
"HardwareModel" : "N71mAP",
"modelName" : "iPhone 6s"
}
}{
"Event" : "DeviceDetected",
"Interface" : "USB",
"Device" : {
"BuildVersion" : "19D52",
"modelSDK" : "iphoneos",
"DeviceIdentifier" : "xxxxxxxxxxxx",
"DeviceClass" : "iPhone",
"ProductType" : "iPhone14,4",
"DeviceName" : "xxxxx iPhone",
"ProductVersion" : "15.3.1",
"modelArch" : "arm64e",
"HardwareModel" : "D16AP",
"modelName" : "iPhone 13 Mini"
}
}%

Steps to reproduce the problem

in terminal run cmd: ios-deploy -c -j
and check the result

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

  • Software:

    System Software Overview:

    System Version: macOS 13.5 (22G74)
    Kernel Version: Darwin 22.6.0
    Boot Volume: Macintosh HD
    Boot Mode: Normal
    Computer Name: C02XXXXXXXXXXXXXX
    User Name: ANDY (andy)
    Secure Virtual Memory: Enabled
    System Integrity Protection: Enabled
    Time since boot: 2 hours, 14 minutes
    
  • 2. ios-deploy -V
    1.12.2

  • 3. xcodebuild -version.
    Xcode 14.3

Build version 14E222b

  • 4. xcode-select --print-path
    /Applications/Xcode.app/Contents/Developer

  • 5. gcc --version
    Apple clang version 14.0.3 (clang-1403.0.22.14.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-1403.0.17.64
    Apple Swift version 5.8 (swiftlang-5.8.0.124.2 clang-1403.0.22.11.100)

@krin-san
Copy link

krin-san commented Feb 8, 2024

Duplicates #591

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

2 participants