iPhone6 Plus IOS 版本:ios 9.3.4
Xcode 版本:Version 8.3.3 (8E3004b)
模拟器是可以运行脚本没有问题。
但是真机在执行下面这句话时
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=dd6a7a9c95d878754537dc31f87445445457fb9a3da' test
shell 终端一直停暂停的感觉,无法执行完成:
MDMCreateDeltaDirectory:1920 calling MDMDirectoryDiff with:
state->old_bundle: /var/folders/td/19m2z20s5j5c8926k5y3ntgw0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/89d5a96207484b01ee2b03a59bfba602/dd6a7a9c95d5867137dc31f6bd84f8457fb9a3da/WebDriverAgentRunner-Runner.app
state->new_bundle: /Users/joyu_dev/Library/Developer/Xcode/DerivedData/WebDriverAgent-ftyhpdpgltapowgrsrohssojcmla/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app
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
dst_ipa: /var/folders/td/19m2z20s5j5c8926k5y3ntgw0000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.g28xlZ/WebDriverAgentRunner-Runner.app_sparse.ipa
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
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
2018-06-25 14:19:01.370 XCTRunner[1704:695950] Running tests...
2018-06-25 14:19:02.415 XCTRunner[1704:695950] Continuing to run tests in the background with task ID 1
Test Suite 'All tests' started at 2018-06-25 14:19:03.241
Test Suite 'WebDriverAgentRunner.xctest' started at 2018-06-25 14:19:03.244
Test Suite 'UITestingUITests' started at 2018-06-25 14:19:03.244
Test Case '-[UITestingUITests testRunner]' started.
t = 0.00s Start Test at 2018-06-25 14:19:03.250
t = 0.01s Set Up
2018-06-25 14:19:03.261 XCTRunner[1704:695950] Built at Jun 25 2018 14:18:47
2018-06-25 14:19:03.306 XCTRunner[1704:695950] ServerURLHere->http://10.112.8.80:0<-ServerURLHere
手机里也没弹出” 信任开发者 “弹框,WDA 手机里是已经安装进了的。
麻烦各位老师看一下什么情况。在线等