Closed whhaijun closed 6 months ago
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
They returned 403 Forbidden
So what should we do about it
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.
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?
As is shown in the picture https://github.com/whhaijun/image/blob/main/50e21a68-9d79-48bf-b853-3e4d22381b5e.png
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)
Oh, thanks all the same.
Already working
Identifier 'XCTSetApplicationStateTimeout' is reserved because it starts with '' followed by a capital letter
Identifier 'XCTApplicationStateTimeout' is reserved because it starts with '' followed by a capital letter
Identifier 'XCTestCaseImplementation' is reserved because it starts with '' followed by a capital letter
xcode 14.2