启动模拟器的话是没有问题的,但是真机却会是如图报错
激动!!!!折腾了一整天,最后卸载 app-inspector 然后重新安装解决了!!
npm uninstall app-inspector -g
npm cache clean
npm i app-inspector -g
我的部分已经完成啦 ~~
#149 楼 @xiaobeiying 我换了部 iOS 9 的测试机,已经可以成功运行了
@lunamagic @softblank 卡在 setup 的问题貌似 issue 里给了解决方案,就是重启电脑跟手机....不过我试了下貌似还不行..不知你们解决了没
同样点了一年的路过...
#149 楼 @xiaobeiying 我的是 10.2,现在轮到卡楼层中说的卡在 setup 的问题....还没跑成功
MDMCreateDeltaDirectory:1920 calling MDMDirectoryDiff with:
state->old_bundle: /var/folders/mc/5hjzf67149l8qny05tsr2s000000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/64e1cbefb70e4e693057c7e51515a76e/f4068075a76a39c8de72e608f935e1abe9ebc030/WebDriverAgentRunner-Runner.app
state->new_bundle: /Users/thanksdanny/Library/Developer/Xcode/DerivedData/WebDriverAgent-aglwdgpknbtvkxddxdjubmhlahqx/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app
state->dst_bundle: /var/folders/mc/5hjzf67149l8qny05tsr2s000000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.0uMoGm/WebDriverAgentRunner-Runner.app_sparse.ipa/Payload//WebDriverAgentRunner-Runner.app, binaryDiff flag: FALSE
dst_ipa: /var/folders/mc/5hjzf67149l8qny05tsr2s000000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.0uMoGm/WebDriverAgentRunner-Runner.app_sparse.ipa
__MDMDirectoryDiff_block_invoke.37:1473 calling writeDictToFile with: /var/folders/mc/5hjzf67149l8qny05tsr2s000000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.0uMoGm/WebDriverAgentRunner-Runner.app_sparse.ipa/ManifestCache.plist
writeDictToFile:1278 ==== Successfully wrote Manifest cache to /var/folders/mc/5hjzf67149l8qny05tsr2s000000gn/C/com.apple.DeveloperTools/All/Xcode/EmbeddedAppDeltas/WebDriverAgentRunner-Runner.app.0uMoGm/WebDriverAgentRunner-Runner.app_sparse.ipa/ManifestCache.plist
Test Suite 'All tests' started at 2017-02-07 20:57:09.741
Test Suite 'WebDriverAgentRunner.xctest' started at 2017-02-07 20:57:09.742
Test Suite 'UITestingUITests' started at 2017-02-07 20:57:09.742
Test Case '-[UITestingUITests testRunner]' started.
t = 0.00s Start Test at 2017-02-07 20:57:09.743
t = 0.00s Set Up
@xiaobeiying 回头看回教程,原来我是正常的!!哈哈哈感谢你帮忙!!
#145 楼 @xiaobeiying 修改完是 build 成功了,然后再 buid 原来的错误提示已经没了,但是又有另外一个提示:
Testing failed:
Test target WebDriverAgentRunner encountered an error (Early unexpected exit, operation never finished bootstrapping - no restart will be attempted)
** TEST FAILED **
其实也就说明 build 成功了,但是只是测试失败么
@lmlucky 我跟你的问题差不多,也是报类似的错误,想问下找到解决的办法了么
我貌似有根据楼主的步骤来选择 personl team,然后再 xcode 里 buid 也没报错的...
=== BUILD TARGET WebDriverAgentRunner OF PROJECT WebDriverAgent WITH CONFIGURATION Debug ===
Check dependencies
The file “ProjectSettings.xcconfig” couldn’t be opened because there is no such file. (/Users/thanksdanny/Documents/test tools/Appium/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Configurations/ProjectSettings.xcconfig)
Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'
Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'
2017-02-06 21:14:06.200 xcodebuild[96714:55994925] Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/thanksdanny/Library/Developer/Xcode/DerivedData/WebDriverAgent-aglwdgpknbtvkxddxdjubmhlahqx/Logs/Test/3433B8F6-CB8E-4604-AB87-BA4EA4064E5F/Session-WebDriverAgentRunner-2017-02-06_211403-BcjLh0.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/thanksdanny/Library/Developer/Xcode/DerivedData/WebDriverAgent-aglwdgpknbtvkxddxdjubmhlahqx/Logs/Test/3433B8F6-CB8E-4604-AB87-BA4EA4064E5F/Session-WebDriverAgentRunner-2017-02-06_211403-BcjLh0.log}
Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'
Testing failed:
Signing for "WebDriverAgentRunner" requires a development team. Select a development team in the project editor.
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'
** TEST FAILED **
The following build commands failed:
Check dependencies
(1 failure)
好棒!要向楼主多多学习!!
2017 继续加油!
@Lihuazhang 来交功课了!完成第一稿了
#56 楼 @Lihuazhang 明白!
是把自己认领的部分先提交次 pull request 么 @Lihuazhang
好!服从分配!
每人分一两个 md 吧,不然太多了
报名
├── appium-setup
│ ├── android-hax-emulator.md
│ ├── android-setup.md
│ ├── ios-deploy.md
│ ├── parallel_tests.md
│ ├── platform-support.md
│ ├── real-devices.md
│ ├── running-on-linux.md
│ ├── running-on-osx.md
│ ├── running-on-windows.md
│ └── troubleshooting.md
第二个地址好像跪了..
关注!最近正好要接触 https
马克!
装逼必备啊!
#6 楼 @u1470305603 钉钉 get!