google / EarlGrey

:tea: iOS UI Automation Test Framework
http://google.github.io/EarlGrey/
Apache License 2.0
5.62k stars 744 forks source link

Version 2.2.2 fails to build in Xcode 15 #1975

Open PeqNP opened 1 year ago

PeqNP commented 1 year ago

There are a few issues I've ran across while upgrading to Xcode 15:

Here is the declaration of the struct with the char assigned a bit field of 1. grey_touch_injector_struct

Here is where the value gets set to 1 causing an overflow. I believe it should be -1. grey_touch_injector_set_touch

Alternatively to the Clang warnings, I can update the AppFramework, CommonLib, and TestLib to explicitly add void to function definitions if we want to keep the Strict Prototypes value set to Yes.

If this is correct, I will put up a PR asap.