-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with SquareInAppPaymentsSDK installation through cocoapods #217
Comments
Facing the same issue, it seems like the documentation hasn't been updated for ages. It is also mentioned to link the library with react native link command which is also deprecated. Also can you let me know where I should place the new run script as that also not mentioned in the documentation, is it okay if I place it as the last build phase? |
Please follow below steps to add the new run script:
|
@talha-irshad-kodexo So long as the new run script is placed below the embed frameworks step you should be good. Placing it at the bottom will work. |
@AndrewBordin @CharmisG I am facing another error, I have created a different issue, I would really appreciate it if you guys could help me out in that issue |
@CharmisG why was this issue closed? |
@AndrewBordin |
@CharmisG Yes, the issue of installing the library using the Getting Started guide still fails, as you get this error: It will only work if you install the In-App Payments SDK manually. |
@CharmisG any update? Can you re-open the issue? |
I'm also having this issue and I've tried everything I can find thus far: All on a fresh project running RN 0.72.4, cocoapods 1.12:
I'm at a lost. Anything help is appreciated. |
@Huynie |
I've tried it on IOS version: 12.0, 12.4, 13.4, 14.0, and 16.4. |
I'm also having this error, can anyone help? |
@HunterT11 The only way I have gotten it to work is by manually installing the SDK. Take a look at this link (make sure you switch it from Java Android to iOS, and then scroll down to option 3). Then you will have to embed both frameworks manually, here is how to do that. |
What error are you running into when installing the sdk manually? |
i have added it, thank you very much <3
Thanks& regards,
*Nguyen Hoang Thach*
Vào Th 4, 20 thg 9, 2023 vào lúc 21:24 Andrew ***@***.***>
đã viết:
… I'm also having this issue and I've tried everything I can find thus far:
*All on a fresh project running RN 0.72.4, cocoapods 1.12*:
1. nuked everything ( node_modules, package-lock.json, ios/Pods,
ios/build, podfile.lock ) then reinstalled (npm i, pod install).
2. Manuel install following this
<https://developer.squareup.com/docs/in-app-payments-sdk/installation#option-3-install-the-in-app-payments-sdk-manually>
.
I'm at a lost. Anything help is appreciated.
What error are you running into when installing the sdk manually?
—
Reply to this email directly, view it on GitHub
<#217 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJTODXI55WYMT6JGMKABOQ3X3L4BDANCNFSM6AAAAAA3LUA2MM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
but ios 13 crash, do you have this error
Thanks& regards,
*Nguyen Hoang Thach*
Vào Th 4, 20 thg 9, 2023 vào lúc 21:24 Andrew ***@***.***>
đã viết:
… I'm also having this issue and I've tried everything I can find thus far:
*All on a fresh project running RN 0.72.4, cocoapods 1.12*:
1. nuked everything ( node_modules, package-lock.json, ios/Pods,
ios/build, podfile.lock ) then reinstalled (npm i, pod install).
2. Manuel install following this
<https://developer.squareup.com/docs/in-app-payments-sdk/installation#option-3-install-the-in-app-payments-sdk-manually>
.
I'm at a lost. Anything help is appreciated.
What error are you running into when installing the sdk manually?
—
Reply to this email directly, view it on GitHub
<#217 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJTODXI55WYMT6JGMKABOQ3X3L4BDANCNFSM6AAAAAA3LUA2MM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
com>
|
I'm still having issues getting my app to build from installing this through cocoapods and manually. I've tried it on IOS 15.0 all the way up to 17.0 with no luck. I've even tried the react-native-in-app-payments-quickstart example project and got as far as building the app, but the app crashes upon launch. Any help would be appreciated. |
Describe the issue
I encountered an error when installing this plugin at build time after following the getting started guide. The issue I received at build time was as follows:
After getting this issue in my own app, I built the starter app as well and ran into the same error. There seems to be some issue with installing the framework through cocoapods, specifically the SquareBuyerVerificationSDK. I am using cocoapods verison
1.11.3
and react-native verison0.72.3
.I did end up fixing the error by manually installing the In-App Payments SDK:
https://developer.squareup.com/docs/in-app-payments-sdk/installation#option-3-install-the-in-app-payments-sdk-manually
As well as embedding both frameworks manually as well.
To Reproduce
Steps to reproduce the issue:
Follow the getting started guide for iOS and install the sdk with cocoapods.
Expected behavior
The app builds.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: