Git Product home page Git Product logo

Comments (4)

tirodkar avatar tirodkar commented on April 27, 2024

@AshishGogna, to repro the issue from our side, is this a Swift project or an Objective-C project? In case of a Swift project, have you also added EarlGrey.swift to your project?

Does #import <EarlGrey/EarlGrey.h> work instead of @import EarlGrey;?

from earlgrey.

AshishGogna avatar AshishGogna commented on April 27, 2024

I tried #import <EarlGrey/EarlGrey.h>.

Did a clean integration (followed all the steps again, used another directory) and it worked.

from earlgrey.

brunomunizaf avatar brunomunizaf commented on April 27, 2024

Just wanted to add that i had the same issue and what was causing this was that on the podfile i was not using it on the proper target. For example, my target name was 'Tests' so i should use:
target 'Tests' do
pod 'EarlGrey'
end

Instead of adding the pod to the target 'AppName' do ...

from earlgrey.

IcyW avatar IcyW commented on April 27, 2024

I followed all the steps mentioned here - https://github.com/google/EarlGrey/blob/master/docs/install-and-run.md.
I followed Github installation, but when i tried to import earlgrey using this @import EarlGrey, it shows me an error saying "Module 'EarlGrey' not found".

I followed those steps exactly as they are mentioned.

Solved this problem by adding EarlGrey.framework in 「EarlGreyExampleTests-Build Phases-Link Binary With Libraries」... And I found the path of EarlGrey.framework from 「EarlGreyExampleSwiftTests-Build Phases-Link Binary With Libraries」 , where EarlGrey.framework was already added.
image
image

Not sure if it is the source of the issue.
In case other people need it.

from earlgrey.

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.