-
Notifications
You must be signed in to change notification settings - Fork 107
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
Build error Xcode 10.2: Incompatible Swift #177
Comments
Are you using swift5 or swift4.2? |
I am using swift 5 which is included in xCode 10.2. |
Even I'm getting the same error after updating xCode to 10.2 |
error: binaries use incompatible versions of Swift.. |
@pronav Any update on this? |
@codebymani any luck on issue ? |
Can you verify if
Secondly, have you added script to strip out unneeded architectures from binary? |
Yes, I have added the script to strip out unneeded architectures while archiving the app, but here I cannot build the app in development mode. |
@pronav Any solution on this, waiting for a long time? |
It is worked, Thanks for the help |
I'm still facing this issue, I'm using only 1 xcode (10.2) with swift 5.1 and I have the same error
|
We're looking into swift 5.1 support and will update here. |
so can you suggest any other way to integrate razorpay in our React Native app? I need to integrate it for a client. |
any temporary fix untill team is working on swift 5.1 support |
React Native Environment Info: this is system info |
Hi, I just rechecked my swift version and It is This is the complete error
|
Download latest Razorpay.framework from Razorpay website with swift 5.0 and replace the one from node modules. This fixed error for me @rawris @codebymani |
Hi @master96 Can you share the link with us? just so we use the same framework as you |
This is the link for latest framework: https://rzp-mobile.s3.amazonaws.com/ios/checkout/1.2.0/RazorpayBitcodeX10.framework.zip However just using latest |
We'll release swift-5.1 compatible framework once stable version for swift-5.1 is released by apple. |
Hi @pronav I'm using swift 5.0 still I'm getting this error. |
I can confirm "react-native-razorpay": "^2.0.18" |
I'm using ^2.1.23 version. I'm downgrading it to 2.0.18 and will see how it works out |
Facing this in xcode 11.3.1 and swfit version used in framework is 4.2 Any workaround for this? |
Which react-native-razorpay are you using? Can you share the package version here? Thanks. |
Getting the following build error on XCode 10.2.
I am using the react-native-razorpay version 2.1.0
error: The following binaries use incompatible versions of Swift: xxxx/Build/Products/iphonesimulator/xxx.app/Frameworks/Razorpay.framework/Razorpay
The text was updated successfully, but these errors were encountered: