作者:陛下今晚由臣来侍寝吧值 | 来源:互联网 | 2023-07-12 18:48
Hi,
I'm about to start using EarlGrey for the first time, because writing tests in XCUI doesn't fit me cuz app under tests is hybrid web app.
I've spended whole day trying to run framework in my project.
Env:
Xcode 10.1
EarlGrey 1.15.0
Firstly, I was trying to run tests by previously imported EarlGrey by Carthage, had an error like in title, so i decided to add it in 3rd way using project from github.
I made all required steps from GitHub installation instruction except point 2 of step 4, because I wasn't able to build project with error "Invalid configuration: sets both USES_XCTRUNNER and TEST_HOST"
Actual Build Phases section looks like this: