Git Product home page Git Product logo

Comments (7)

StephenJosey avatar StephenJosey commented on July 30, 2024

Is this for iOS? If so, can you look at the second troubleshooting advice here: https://github.com/square/react-native-square-reader-sdk/blob/master/docs/troubleshooting.md

Please let me know if that doesn't resolve your issue.

from react-native-square-reader-sdk.

saravanapriyan95 avatar saravanapriyan95 commented on July 30, 2024

I have gone through the process about how to link Square Reader SDK in react-native. As in the below link
https://docs.connect.squareup.com/payments/readersdk/build-on-ios

After completing the above steps. I got an error ( IOS )
fatal error: module 'SquareReaderSDK' not found
@import SquareReaderSDK;

1 error generated.

from react-native-square-reader-sdk.

StephenJosey avatar StephenJosey commented on July 30, 2024

So just to confirm, you've went through these steps? https://github.com/square/react-native-square-reader-sdk/blob/master/docs/get-started.md

The steps you posted is for the iOS ReaderSDK, not the React Native SDK. They are different SDKs and are set up differently. Please confirm you've went through the above steps successfully.

from react-native-square-reader-sdk.

saravanapriyan95 avatar saravanapriyan95 commented on July 30, 2024

Yeah, I have Done the steps above successfully. https://github.com/square/react-native-square-reader-sdk/blob/master/docs/get-started.md

After completing the above steps. I got an error ( IOS )
fatal error: module 'SquareReaderSDK' not found
@import SquareReaderSDK;

1 error generated.

from react-native-square-reader-sdk.

StephenJosey avatar StephenJosey commented on July 30, 2024

HI @saravanapriyan95 would you be able to provide a sample repo so we can easily reproduce this error?

from react-native-square-reader-sdk.

StephenJosey avatar StephenJosey commented on July 30, 2024

Also just to double-check, you ran the ruby install command inside the ios directory, right? Not the root react-native directory? ReaderSDK needs to be installed in the ios directory, or else you would receive this error.

from react-native-square-reader-sdk.

SudoPlz avatar SudoPlz commented on July 30, 2024

If anyone faces the Module 'SquareReaderSDK' not found the issue is probably that the iOS project can't find the SquareReaderSDK.framework file.

In our case we had moved that file in a sub-directory called frameworks, and Xcode couldn't find it.
If you move that file in the root ios dir, the error will be gone.

Just created a PR #54

from react-native-square-reader-sdk.

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.