square / react-native-square-reader-sdk

React Native Plugin for Square Reader SDK
Apache License 2.0
117 stars 36 forks source link

Module 'SquareReaderSDK' not found in IOS (React Native) #230

Open MuneebQureshi1 opened 6 months ago

MuneebQureshi1 commented 6 months ago

I'm encountering an issue with integrating the SquareReaderSDK into my iOS project. Despite following the documentation and ensuring that I've properly added the SDK to my project, Xcode still reports that it cannot find the SquareReaderSDK module.

Here are the steps I've taken so far:

I've added the SquareReaderSDK framework to my project by dragging it into the "Frameworks, Libraries, and Embedded Content" section of my target settings.

I've made sure that the framework is listed under "Link Binary With Libraries" in the "Build Phases" settings for my target.

I've imported the SquareReaderSDK module in the appropriate files where I need to use it.

I've tried cleaning the build folder, deleting derived data, and restarting Xcode, but the issue persists.

Is there anything else I might be missing or any additional steps I need to take to properly integrate the SquareReaderSDK into my project? Any help or insights would be greatly appreciated.

Versions:

"react-native": "0.72.3",

"react-native-square-reader-sdk": "^1.4.3"

Device: IOS simulator: IPhone 15

Error Screenshot:

7oji3P4e

I have followed the documnentation of sqaure reader sdk. https://github.com/square/react-native-square-reader-sdk/blob/master/docs/get-started.md#step-5-install-reader-sdk-for-ios