51Testing软件测试论坛

标题: Day4 测试积点任务 [打印本页]

作者: lsekfe    时间: 2018-6-27 10:20
标题: Day4 测试积点任务
问题:
IOS 真机自动化,这个问题您可曾遇到?
iPhone6 Plus IOS版本:ios 9.3.4
Xcode 版本:Version 8.3.3 (8E3004b)


模拟器是可以运行脚本没有问题。


但是真机在执行下面这句话时
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=dd6a7a9c95d878754537dc31f87445445457fb9a3da' test

shell终端一直停暂停的感觉,无法执行完成:

  1. MDMCreateDeltaDirectory:1920 calling MDMDirectoryDiff with:
  2. state->old_bundle: /var/folders/td/19m2z20s5j5c8926k5y3ntgw0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/89d5a96207484b01ee2b03a59bfba602/dd6a7a9c95d5867137dc31f6bd84f8457fb9a3da/WebDriverAgentRunner-Runner.app
  3. state->new_bundle: /Users/joyu_dev/Library/Developer/Xcode/DerivedData/WebDriverAgent-ftyhpdpgltapowgrsrohssojcmla/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app
  4. state->dst_bundle: /var/folders/td/19m2z20s5j5c8926k5y3ntgw0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.g28xlZ/WebDriverAgentRunner-Runner.app_sparse.ipa/Payload//WebDriverAgentRunner-Runner.app, binaryDiff flag: FALSE
  5.     dst_ipa: /var/folders/td/19m2z20s5j5c8926k5y3ntgw0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.g28xlZ/WebDriverAgentRunner-Runner.app_sparse.ipa
  6. MDMDirectoryDiff_block_invoke:1473 calling writeDictToFile with: /var/folders/td/19m2z20s5j5c8926k5y3ntgw0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.g28xlZ/WebDriverAgentRunner-Runner.app_sparse.ipa/ManifestCache.plist
  7. writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/td/19m2z20s5j5c8926k5y3ntgw0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.g28xlZ/WebDriverAgentRunner-Runner.app_sparse.ipa/ManifestCache.plist
  8. 2018-06-25 14:19:01.370 XCTRunner[1704:695950] Running tests...
  9. 2018-06-25 14:19:02.415 XCTRunner[1704:695950] Continuing to run tests in the background with task ID 1
  10. Test Suite 'All tests' started at 2018-06-25 14:19:03.241
  11. Test Suite 'WebDriverAgentRunner.xctest' started at 2018-06-25 14:19:03.244
  12. Test Suite 'UITestingUITests' started at 2018-06-25 14:19:03.244
  13. Test Case '-[UITestingUITests testRunner]' started.
  14.     t =     0.00s     Start Test at 2018-06-25 14:19:03.250
  15.     t =     0.01s     Set Up
  16. 2018-06-25 14:19:03.261 XCTRunner[1704:695950] Built at Jun 25 2018 14:18:47
  17. 2018-06-25 14:19:03.306 XCTRunner[1704:695950] ServerURLHere->http://10.112.8.80:0<-ServerURLHere
复制代码
手机里也没弹出”信任开发者“弹框,WDA手机里是已经安装进了的。
麻烦各位老师看一下什么情况。在线等


作者: qqq911    时间: 2018-6-28 10:41
安装包重新签名一下
作者: jingzizx    时间: 2018-6-28 12:29
确实不知道
作者: 海海豚    时间: 2018-6-28 13:29

安装包重新签名一下
作者: 梦想家    时间: 2018-6-28 13:34
安装包重新签名一下




欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) Powered by Discuz! X3.2