razorpay / react-native-razorpay

React Native wrapper for Razorpay's mobile SDKs
https://www.npmjs.com/package/react-native-razorpay
MIT License
124 stars 107 forks source link

Unable to take iOS Signed Build #307

Closed ratheeshramachandran closed 3 years ago

ratheeshramachandran commented 3 years ago

React-Native : 0.63.0 Razorpay: 2.2.1 Podfile iOS version 10.0

App work fine with emulator. But when I tried to take a signed build got following issue.

tries with this script too . (http://ikennd.ac/blog/2015/02/stripping-unwanted-architectures-from-dynamic-libraries-in-xcode/)

Screenshot 2020-12-03 at 11 42 37 AM
Nautiyalsachin commented 3 years ago

Hi @ratheeshramachandran, you don't have to use the script when using pods, can you share the XCode and swift version here.

ratheeshramachandran commented 3 years ago

Xcode 11.6 Swift version 5

Nautiyalsachin commented 3 years ago

@ratheeshramachandran, it looks like you have changed some settings in your project which is not allowing it to create a release build.

I would suggest to try our sample app and compare the build settings options.

Also, please try removing the above script.

rutul089 commented 3 years ago

@ratheeshramachandran I am also getting the same type of error any solution? I am not using the above script too. razrorpay

Nautiyalsachin commented 3 years ago

Hey @rutul089, @ratheeshramachandran Please try with the latest updated SDK v2.2.2. Let us know how that went for you. Closing the issue for now. Feel free to comment or open a new issue if it's still persists.

rutul089 commented 3 years ago

Hey @Nautiyalsachin , Tried with the latest SDK but still facing the same issue. In the simulator, it's working fine

Nautiyalsachin commented 3 years ago

@rutul089, as mentioned above, please try downloading our sample app and try to compile it locally. Also, suggest you to go through our FAQ section.

HemanthSurimani commented 3 years ago

hi @Nautiyalsachin Iam also facing same issue

can you please help me

using versions: "react": "16.13.1", "react-native": "0.63.3", "react-native-razorpay": "^2.2.4",

Version 11.5 (11E608c) Shift5

Nautiyalsachin commented 3 years ago

@HemanthSurimani Please upgrade your XCode to the latest version as replied on https://github.com/razorpay/react-native-razorpay/issues/328

HemanthSurimani commented 3 years ago

Hi @Nautiyalsachin After updating my Xcode Version 11.5 to 12.4 issue got resolved

Thanks @Nautiyalsachin