Macaca macaca 一直在循环安装 app

yangchun · 2017年11月24日 · 最后由 Jacc 回复于 2018年01月16日 · 2264 次阅读

安装没问题 ,但是在运行的时候 一直重复安装 测试 app,求大神帮忙~
运行:
sample-nodejs git:(master) ✗ macaca run --reporter mochawesome -d ./macaca-test/mobile-app-sample.test.js

ios-deploy

get /Users/yangchun/.macaca-temp/ios-app-bootstrap.zip from cache
sha:d2e65bba467659ef610b369f2ee599c1
CFBundleIdentifier is xudafeng.ios-app-bootstrap
Get bundleId xudafeng.ios-app-bootstrap from plist /var/folders/2p/970k23wj3p3dzf5049crvrkm0000gn/T/ios-app-bootstrap.app/Info.plist
XCTestWD version: 1.3.9
Read simulator log at: /var/folders/2p/970k23wj3p3dzf5049crvrkm0000gn/T/com.apple.dt.XCTest/IDETestRunSession-49F4E3C7-22A7-46B4-9BF3-6541255B2213/XCTestWDUITests-9C887AD3-4A99-406A-B2F6-6E6B0D6E714C/StandardOutputAndStandardError.txt
Read simulator log at: /var/folders/2p/970k23wj3p3dzf5049crvrkm0000gn/T/com.apple.dt.XCTest/IDETestRunSession-49F4E3C7-22A7-46B4-9BF3-6541255B2213/XCTestWDUITests-9C887AD3-4A99-406A-B2F6-6E6B0D6E714C/StandardOutputAndStandardError.txt
Read simulator log at: /var/folders/2p/970k23wj3p3dzf5049crvrkm0000gn/T/com.apple.dt.XCTest/IDETestRunSession-49F4E3C7-22A7-46B4-9BF3-6541255B2213/XCTestWDUITests-9C887AD3-4A99-406A-B2F6-6E6B0D6E714C/StandardOutputAndStandardError.txt
get /Users/yangchun/.macaca-temp/ios-app-bootstrap.zip from cache
sha:d2e65bba467659ef610b369f2ee599c1
CFBundleIdentifier is xudafeng.ios-app-bootstrap
Get bundleId xudafeng.ios-app-bootstrap from plist /var/folders/2p/970k23wj3p3dzf5049crvrkm0000gn/T/ios-app-bootstrap.app/Info.plist
XCTestWD version: 1.3.9
Read simulator log at: /var/folders/2p/970k23wj3p3dzf5049crvrkm0000gn/T/com.apple.dt.XCTest/IDETestRunSession-FD3ABDC4-248C-47D1-86DF-CAB8A6713571/XCTestWDUITests-73E3393A-BD7E-49FF-B768-16CDE0C025B1/StandardOutputAndStandardError.txt
Read simulator log at: /var/folders/2p/970k23wj3p3dzf5049crvrkm0000gn/T/com.apple.dt.XCTest/IDETestRunSession-FD3ABDC4-248C-47D1-86DF-CAB8A6713571/XCTestWDUITests-73E3393A-BD7E-49FF-B768-16CDE0C025B1/StandardOutputAndStandardError.txt
Read simulator log at: /var/folders/2p/970k23wj3p3dzf5049crvrkm0000gn/T/com.apple.dt.XCTest/IDETestRunSession-FD3ABDC4-248C-47D1-86DF-CAB8A6713571/XCTestWDUITests-73E3393A-BD7E-49FF-B768-16CDE0C025B1/StandardOutputAndStandardError.txt

10:10:31.372 xcodebuild[84926:6907410] /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild
test
-project
/usr/local/lib/node_modules/macaca-ios/node_modules/xctestwd/XCTestWD/XCTestWD.xcodeproj
-scheme
XCTestWD
-destination
id=4593171D-F6F3-437A-A8C1-C9F5781811ED
XCTESTWD_PORT=8001
10:10:31.372 xcodebuild[84926:6907410] Launching with Xcode.IDEFoundation.Launcher.PosixSpawn
10:10:31.375 xcodebuild[84926:6907410] Test standard output and standard error is at /var/folders/2p/970k23wj3p3dzf5049crvrkm0000gn/T/com.apple.dt.XCTest/IDETestRunSession-433BA4F7-797B-41F4-9307-A119055C538B/XCTestWDUITests-4BB13A85-6EEB-4739-B80F-BC101A4E3EB0/StandardOutputAndStandardError.txt
10:10:32.288 xcodebuild[84926:6907410] Test operation failure: Test operation was canceled.
10:10:32.289 xcodebuild[84926:6907410] _finishWithError:Error Domain=IDETestOperationsObserverErrorDomain Code=14 "Test operation was canceled." UserInfo={NSLocalizedDescription=Test operation was canceled.}

共收到 2 条回复 时间 点赞

解决了 ,重新安装 XCTestWD 就好了

yangchun 回复

请问是直接用 xcode 把 xctestwd build 到模拟器上吗,还是怎么操作的?

需要 登录 后方可回复, 如果你还没有账号请点击这里 注册