2

在 iOS 11 设备上,测试执行会在 2-3 小时后停止。相同的设置适用于 iOS 10 设备。正在使用的宝石 - run_loop - 2.6.1/2.6.0/2.5.4 葫芦黄瓜 - 0.21.1/0.20.5 黄瓜 - 3.0.0.pre.2 Xcode - 9 iOS - 11.0/11.0.1/11.0。 2

以下是错误消息 -

无法安装 /Users/raenug001c/.rvm/gems/ruby-2.3.1@ios11test/gems/run_loop-2.6.1/lib/run_loop/device_agent/ipa/DeviceAgent-Runner.app。iOSDeviceManager 说:

 Error getting device with ID 630826b68345ba162bc2494709ff39657dd3c122: Error Domain=com.facebook.FBControlCore Code=0 “Failed to load device console entries” UserInfo={NSLocalizedDescription=Failed to load device console entries}

   install <app-path>
            -d,--device-id  <device-identifier>     iOS Simulator GUID or 40-digit physical device ID
            -u,--update-app <should-update-app> [OPTIONAL]  When true, will reinstall the app if the device contains an older version than the bundle specified     DEFAULT=1
            -p,--profile-path       <profile-path> [OPTIONAL]       Path to provisioning profile
            -c,--codesign-identity  <codesign-identifier> [OPTIONAL]        Identity used to codesign app bundle [device only]. Deprecated - should use profile path.       DEFAULT=
            -i,--resources-path     <resources-path> [OPTIONAL]     Path to resources (executables) to inject into app directory. A list of colon separated files may be specified.

  (RuntimeError)
  /Users/raenug001c/Documents/testios11/tvx-mobile-automation/iOS/common/support/01_launch.rb:49:in `Before’

只有重新启动设备后,才能进一步执行测试。

进一步调试问题后,iOSDeviceManager 似乎无法在设备上安装/启动设备代理应用程序。无法查看 iOSDeviceManager 的源代码,因此无法进一步调试。

4

0 回答 0