question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS] Physical device, browser keep present "Waiting Device start..."

See original GitHub issue
  • app inspector version / 版本号: 1.2.2
  • os version / 系统: Max OS X 10.11.6
  • device information / 设备版本: iPhone 6 Plus with iOS 9.3.5

Hi, I tried to run app-inspector to iOS physical device, and found that after command run in terminal app-inspector -u [My physical iPhone UDID], and then open the URL 192.168.x.x:5678, the browser keep present “Waiting Device start…”.

and I run command macaca doctor and got all checklist in green.

please advise how to fix.

thanks.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
ansonliaocommented, Sep 22, 2016

Updated app-inspector to version 1.2.9, and installed macaca-ios package by npm, and then run command:

app-inspector -u [my device udid] --verbose

and then open browser, but still got Waiting Device start....

and the log please check below.

dev±  app-inspector -u [device_id]] --verbose

>> server.js:16:12 [master] pid:12181 server start with config:
 { port: 5678,
  verbose: true,
  udid: '[device_id]]',
  ip: '192.168.2.61',
  host: 'example.local',
  loaded_time: '2016-09-22 12:43:02' }
>> inspector start at: http://192.168.2.61:5678
>> xctest-client.js:43:14 [master] pid:12181 project path: /usr/local/lib/node_modules/app-inspector/node_modules/webdriveragent/WebDriverAgent/WebDriverAgent.xcodeproj
>> xctest-client.js:183:12 [master] pid:12181 xcode version: 7.3.1
>> WebDriverAgent version: 1.0.28
>> xctest-client.js:156:14 [master] pid:12181 2016-09-22 12:43:05.199 xcodebuild[12185:79690] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs

>> xctest-client.js:156:14 [master] pid:12181 2016-09-22 12:43:05.202 xcodebuild[12185:79690] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ActivatePowerMode.xcplugin' not present in DVTPlugInCompatibilityUUIDs

>> xctest-client.js:156:14 [master] pid:12181 2016-09-22 12:43:07.483 xcodebuild[12185:79690] [MT] IDETestOperationsObserverDebug: (BCCD7F3C-D83E-4C80-9949-E7BF690FACC1) Beginning test session BCCD7F3C-D83E-4C80-9949-E7BF690FACC1 with Xcode 7D1014 on target <DVTiOSDevice: 0x7fea6c4bebc0> {
            deviceSerialNumber:         serial_number
            identifier:                 [device_id]]
            deviceClass:                iPhone
            deviceName:                 iPhone 6s iOS 9
            deviceIdentifier:           [device_id]]
            productVersion:             9.3.2
            buildVersion:               13F69
            deviceSoftwareVersion:      9.3.2 (13F69)
            deviceArchitecture:         armv7f
            deviceTotalCapacity:        13470674944
            deviceAvailableCapacity:    5575835648
            deviceIsTransient:          NO
            ignored:                    NO
            deviceIsBusy:               NO
            deviceIsActivated:          YES
            deviceActivationState:      Activated
            deviceType:                 <DVTDeviceType:0x7fea6c3f1c50 Xcode.DeviceType.iPhone>
            supportedDeviceFamilies:    (
    1
)
            applications:              (null)
            provisioningProfiles:      (null)
            activityProgress:          -2
            activityTitle:
            hasInternalSupport:        NO
            isSupportedOS:             YES
            developerDiskMountError:   (null)
(null)
        } (9.3.2 (13F69))

>> xctest-client.js:156:14 [master] pid:12181 2016-09-22 12:43:07.485 xcodebuild[12185:79695]  IDETestOperationsObserverDebug: Writing diagnostic log for test session to:
/Users/ansonliao/Library/Developer/Xcode/DerivedData/WebDriverAgent-ceakatlydgitcjebccsbdhchgrpn/Logs/Test/1FD04A48-1C89-4BC5-94E1-ECCF1BC85D1D/Session-2016-09-22_12:43:07-3gnOF8.log

  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
>> xctest-client.js:156:14 [master] pid:12181 writeDictToFile:1269 open failed for /var/folders/yh/wcbs5lw16b3dfq28ncyz28hxt3jjg4/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/1d7f44c00e10dd13ba91d3233ca113f9/[device_id]]/ManifestCache.plist : No such file or directory

>> xctest-client.js:156:14 [master] pid:12181 MDMCacheDirectoryManifest:1364 writeDictToFile failed to write to /var/folders/yh/wcbs5lw16b3dfq28ncyz28hxt3jjg4/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/1d7f44c00e10dd13ba91d3233ca113f9/[device_id]]/ManifestCache.plist : No such file or directory

>> xctest-client.js:156:14 [master] pid:12181 ** TEST FAILED **


>> xctest-client.js:164:14 [master] pid:12181 xctest client exit with code: 65, signal: null
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200
  <-- GET /
  --> GET / 200

please kindly help to check.

0reactions
xudafengcommented, Nov 7, 2016

升级iOS驱动,参考 https://testerhome.com/topics/6314

Read more comments on GitHub >

github_iconTop Results From Across the Web

Customize your Safari settings on iPhone - Apple Support
Customize your start page · Tap the Tabs button , then tap · Scroll to the bottom of the page, then tap Edit....
Read more >
Desired Capabilities - Appium
This set of Desired Capabilities expresses the desire for Appium to begin an ... On iOS, this should be one of the valid...
Read more >
Troubleshoot device enrollment in Intune - Microsoft Learn
Confirm that the device doesn't already have a management profile installed. For iOS/iPadOS devices, confirm that Safari is the default browser ...
Read more >
Apple Confirms Serious New Problems For iPhone 14 Buyers
It has been a bumpy start for iPhone 14 owners. ... On taking the phone to an Apple store, the device was replaced....
Read more >
Using Real and Virtual Mobile Devices for Testing
System Requirements​. iOS Mobile Apps, Android Mobile Apps. Requirements. Your iOS app must be: Compiled for the simulator ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found