Giter Site home page Giter Site logo

Identifier '_XCTSetApplicationStateTimeout' is reserved because it starts with '_' followed by a capital letter about webdriveragent HOT 11 CLOSED

whhaijun avatar whhaijun commented on August 30, 2024
Identifier '_XCTSetApplicationStateTimeout' is reserved because it starts with '_' followed by a capital letter

from webdriveragent.

Comments (11)

KazuCocoa avatar KazuCocoa commented on August 30, 2024

Could you explain further? e.g. what source code did you build, xcodebuild command and the result as build log, etc

_XCTestCaseImplementation is in headers but not called by code right now. I wondered if at least you referred to not the latest code. Does it also occur with Xcode 14.3.1 without build cache? (which is the latest Xcode 14)
https://github.com/search?q=repo%3Aappium%2FWebDriverAgent+_XCTestCaseImplementation&type=code

from webdriveragent.

whhaijun avatar whhaijun commented on August 30, 2024

ERROR Image

https://upload-images.jianshu.io/upload_images/3159832-ae443abaffa37f42.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240

https://upload-images.jianshu.io/upload_images/3159832-345ad7a4bdcee084.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240

from webdriveragent.

KazuCocoa avatar KazuCocoa commented on August 30, 2024

They returned 403 Forbidden

from webdriveragent.

whhaijun avatar whhaijun commented on August 30, 2024

So what should we do about it

from webdriveragent.

KazuCocoa avatar KazuCocoa commented on August 30, 2024

You could upload images to GitHub directory. The given links show 403 Forbidden for me.

Basically we need:

For now, our CI uses Xcode 14.2 and 15.0, but they do not have build errors; probably you reported ones.
https://github.com/appium/WebDriverAgent/blob/master/.azure-pipelines.yml

as my previous comment, you potentially used old code, then please try out with latest code.

from webdriveragent.

whhaijun avatar whhaijun commented on August 30, 2024

Try again
https://github.com/whhaijun/image/blob/main/%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_421765c9-66f7-4250-910b-5dc5176c88ad.png

https://github.com/whhaijun/image/blob/main/%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_5ecbbeb5-5ac1-43ed-b1d2-28a6ee6ed028.png

from webdriveragent.

KazuCocoa avatar KazuCocoa commented on August 30, 2024

Thanks. Actually they are in the WDA code, but I have yet to see the error even with Xcode 14.2 so far on my local machine and our CI (since build succeeded).

how about clearing your local build cache?

from webdriveragent.

whhaijun avatar whhaijun commented on August 30, 2024

As is shown in the picture
https://github.com/whhaijun/image/blob/main/50e21a68-9d79-48bf-b853-3e4d22381b5e.png

from webdriveragent.

KazuCocoa avatar KazuCocoa commented on August 30, 2024

yes, removing all of them is it. I have tried to reproduce that on intel/m1 mac hosts with Xcode 14.2 with macOS 12.6.5 and 13.6, but my environment was not able to reproduce the error. I cannot help further as there is no reproducible env on my side (including CI env)

from webdriveragent.

whhaijun avatar whhaijun commented on August 30, 2024

Oh, thanks all the same.

from webdriveragent.

whhaijun avatar whhaijun commented on August 30, 2024

Already working

from webdriveragent.

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.