首页 新闻 会员 周边

关于xcode 8.1搭建WebDriverAgent 编译失败的问题

0
悬赏园豆:100 [已关闭问题] 关闭于 2018-01-12 11:06

安装教程参考:https://testerhome.com/topics/7861

安装carthage的时候提示要xcode 9.0,就到网上下来安装。

执行./Scripts/bootstrap.sh的时候有几个问题:

-e Fetching dependencies
*** Downloading RoutingHTTPServer.framework binary at "v1.0.1"
*** xcodebuild output can be found in /var/folders/gb/gw7fmfds57q04bzynvy7h9xm0000gr/T/carthage-xcodebuild.mLXL4u.log
-e Building Inspector
Creating bundle directory...
Fetching Inspector dependencies...
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated css-list@0.1.3: Deprecated.

> fsevents@1.1.3 install /Users/amy/WebDriverAgent/Inspector/node_modules/fsevents
> node install

[fsevents] Success: "/Users/amy/WebDriverAgent/Inspector/node_modules/fsevents/lib/binding/Release/node-v59-darwin-x64/fse.node" is installed via remote
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN react-dom@15.6.2 requires a peer of react@^15.6.2 but none is installed. You must install peer dependencies yourself.
npm WARN web-driver-inspector@1.0.0 No repository field.

added 682 packages in 24.284s
Validating Inspector
Launching Flow server for /Users/amy/WebDriverAgent/Inspector
Spawned flow server (pid=79176)
Logs will go to /private/tmp/flow/zSUserszSamyzSWebDriverAgentzSInspector.log
No errors!
Building Inspector...

> web-driver-inspector@1.0.0 build /Users/amy/WebDriverAgent/Inspector
> webpack --progress --colors

Hash: 8cac1428c00de3caad87
Version: webpack 1.15.0
Time: 3253ms
Asset Size Chunks Chunk Names
inspector.js 859 kB 0 [emitted] main
[0] multi main 28 bytes {0} [built]
+ 226 hidden modules
Done

 

 

点运行的时候:

/Users/amy/WebDriverAgent/WebDriverAgentLib/Routing/FBSession.m:77:10: Implicit conversion from nullable pointer 'FBApplication * _Nullable' to non-nullable pointer type 'FBApplication * _Nonnull'

 

/Users/amy/WebDriverAgent/PrivateHeaders/XCTest/XCUIScreen.h:7:12: Cannot find interface declaration for 'XCUIScreen'; did you mean 'UIScreen'?

<UIKit/UIKit.h>这个也没有用

 

本人第一次用xcode,没学过swift,OC之类的。。。。

JoySn的主页 JoySn | 初学一级 | 园豆:138
提问于:2018-01-10 18:03
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册