razorpay / razorpay-pod

:iphone: CocoaPod implementation of Razorpay's Payment SDK. Refer for instructions:
https://docs.razorpay.com/v1/page/ios-integration
MIT License
21 stars 18 forks source link

Xcode 10.2 - Build Failed : Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0 compiler: /Pods/razorpay-pod/Pod/Razorpay.framework/Modules/Razorpay.swiftmodule/arm.swiftmodule #56

Closed reallyram closed 5 years ago

reallyram commented 5 years ago

Xcode Build Failed

Module compiled with Swift 4.2.1 cannot be imported by the Swift 5.0 compiler: /Pods/razorpay-pod/Pod/Razorpay.framework/Modules/Razorpay.swiftmodule/arm.swiftmodule

IDE Specs

Xcode 10.2 Razorpay pod 1.0.28

Retro Steps

Screenshots

shahnawazali commented 5 years ago

I am also facing this issue

/Razorpay.framework/Razorpay compiled with older version of Swift language (unknown ABI version 0x06) than previous files (unknown ABI version 0x07) file /Razorpay.framework/Razorpay' for architecture armv7

parthbizmo commented 5 years ago

I am also facing the same issue. Please update the module to be Swift 5 compatible

AbhinavArora95 commented 5 years ago

Hi. Apologies for the delay in releasing. We are working on the new release and should be released in a couple of days.

krtic commented 5 years ago

I am also facing the same problem. Waiting for swift 5 compatible one.

rkpradeep20 commented 5 years ago

Facing the same issue here. Would like a build built with the latest xcode 10.2.

krtic commented 5 years ago

Any update ??????

reallyram commented 5 years ago

@AbhinavArora95 Can we have an estimated release date? As you might know it is a blocker for us to debug the App on iOS 12.2 devices. To debug on iOS 12.2 we need to use Xcode10.2

rkpradeep20 commented 5 years ago

@AbhinavArora95 Would appreciate information on the release date. Same as above ☝️.

SuganyaEkambaram commented 5 years ago

same issue, Early Release would be appreciated!

krtic commented 5 years ago

You can download the framework compiled in swift 5 here https://razorpay.com/docs/ios/

AbhinavArora95 commented 5 years ago

Hi. Apologies for not updating over here. It's often tough to update everywhere. Nevertheless, as mentioned by @Krtic , you can find the updated framework here . It was released on 1st April and NO it wasn't an April Fools prank.

Saikumar-Reddy commented 4 years ago

Guys could you find any solution for this issue

vi1199 commented 4 years ago

still not resolved. xcode gives me this error. ../ios/Pods/razorpay-pod/Pod/Razorpay.framework/Razorpay compiled with older version of Swift language (4.1/4.2) than previous files (5 or later)

Nautiyalsachin commented 4 years ago

Please follow this table for finding respected versions - https://razorpay.com/docs/payment-gateway/ios-integration/standard/

Saikumar-Reddy commented 4 years ago

I already tried all the standard versions from the given table, but still getting the same error 😟. I tried both pods install and adding the framework manually to the project.

vi1199 commented 4 years ago

@Nautiyalsachin i did install for Objective-C and removed razorpay from Podfile. its working now. thanks xcode - 11.2.1 react native - 0.60.4 react-native-razorpay - 2.1.30