google / EarlGrey

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

Cannot find 'EDOHostPort' in scope #1967

Open ken4ward opened 1 year ago

ken4ward commented 1 year ago

Recently, whenever I want to intsall EarlGrey it always return this errors:

  1. EarlGrey.swift:183:18 Cannot find 'EDOHostPort' in scope
  2. EarlGrey.swift:183:54 'nil' requires a contextual type
  3. EarlGrey.swift:183:79 'nil' requires a contextual type
  4. EarlGrey.swift:184:27 Cannot find 'remoteClassObject' in scope

I'm wondering if anything has changed recently in the installation process?

ganapathy-shan commented 1 year ago

@ken4ward I faced similar issues and I found that below changes resolve the issues.

mcorner commented 1 year ago

Nice, thanks for this.

In my case, I am using pods, so:

import "../Pods/eDistantObject/Channel/Sources/EDOHostPort.h"