Giter Site home page Giter Site logo

xcode9 版本升级 about xctestwd HOT 8 CLOSED

macacajs avatar macacajs commented on June 2, 2024 2
xcode9 版本升级

from xctestwd.

Comments (8)

SamuelZhaoY avatar SamuelZhaoY commented on June 2, 2024
  1. 更新log 读取路径,
  2. 对screenshot, applicaiton, element 系统私有库头文件升级
  3. 更新macaca-ios 驱动

from xctestwd.

SamuelZhaoY avatar SamuelZhaoY commented on June 2, 2024

`>> responseHandler.js:11:12 [master] pid:14442 Recieve HTTP Request from Client[2017-09-26 09:35:26]: method: POST url: /wd/hub/session/e3c625ac-df63-4de2-874f-dab32e4d3f86/element/1004/click, jsonBody: {}

remote-debugger.js:63:12 [master] pid:14442 Getting pages from url: http://localhost:9222/json
client.js:115:14 [master] pid:14442 Send command to websocket: {"method":"Runtime.evaluate","params":{"expression":"(function(){return function(){var k,aa=this;function m(a){return void 0!==a}function ba(a,b){var c=a.split("."),d=aa;c[0]in d||!d.execScript||d.execScript("var "+c[0]);for(var e;c.length&&(e=c.shift());)!c.length&&m(b)?d[e]=b:d[e]?d=d[e]:d=d[e]={}}\nfunction ca(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array"...
client.js:51:12 [master] pid:14442 Get result from websocket: {"result":{"result":{"type":"string","value":"{"status":0,"value":null}"},"wasThrown":false},"id":9}
responseHandler.js:49:14 [master] pid:14442 Send HTTP Respone to Client[2017-09-26 09:35:26]: {"sessionId":"e3c625ac-df63-4de2-874f-dab32e4d3f86","status":0,"value":null}
client.js:51:12 [master] pid:14442 Get result from websocket: {"method":"Canvas.canvasMemoryChanged","params":{"canvasId":"canvas:0.2","memoryCost":1600000}}
xctest-client.js:41:14 [master] pid:14442 Uncaught Exception: TypeError: Cannot read property 'wasThrown' of undefined
xctest-client.js:277:14 [master] pid:14442 killing deviceLogProc pid: 14486
xctest-client.js:282:14 [master] pid:14442 killing runnerProc pid: 14457
`

web 场景下依然存在小范围不稳定性

from xctestwd.

tudoufenzi avatar tudoufenzi commented on June 2, 2024

问下 升级Xcode9 后,编译时提示这个,这两个缺少的文件没有找到,请问如何解决》?

ld: warning: directory not found for option '-F/Users/guyanpu/XCTestWD/XCTestWD/../Carthage/Build/iOS'
ld: framework not found Swifter
clang: error: linker command failed with exit code 1 (use -v to see invocation)

from xctestwd.

tudoufenzi avatar tudoufenzi commented on June 2, 2024

上午发的问题已解决,解决办法:
在xctestwd目录下找到 carfile文件,查看以来的第三方库
然后 执行 carthage update --platform iOS 命令,将第三方库重新拉取编译一遍就可以生成对应的文件
再次编译build 就正常了

from xctestwd.

Jupengpeng avatar Jupengpeng commented on June 2, 2024

很惊喜看到更新适配Xcode9!
然而我尝试编译 target XCTestWDUITests
报错:Type of property 'unsigned long long' in class extension does not match property type in primary class;
然后我注释:@Property unsigned long long state; // @synthesize state=_state;
报错: "OBJC_CLASS$_XCAccessibilityElement", referenced from:
Linker command failed with exit code 1 (use -v to see invocation),很迷惑

from xctestwd.

SamuelZhaoY avatar SamuelZhaoY commented on June 2, 2024

@tudoufenzi carthage 编译是不够的, 因为本身的私有库头文件冲突, 待合并的版本中更新了头文件

from xctestwd.

SamuelZhaoY avatar SamuelZhaoY commented on June 2, 2024

@Jupengpeng 目前这个问题已经解决,正在测试,验证稳定性. 由于xcode9 中测试库改动较大,所以测试时间相对比较长

from xctestwd.

SamuelZhaoY avatar SamuelZhaoY commented on June 2, 2024

已发布 xcode9 xctestwd 版本, 请更新

from xctestwd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.