Closed mohsinalimat closed 4 years ago
Hello, any update on this?
We haven't release Swift 5.1 support yet, because it's not has stable release yet. If you guys want we can provide you a pre-support build.
Yes, It would be really helpful for us.
How will you provide the pre-support build?. As we are testing something on Xcode 11 beta, there is an issue with Xcode 10.2.1 and 10.3. Please respond as soon as possible.
Here, you can use this line in your podfile.
pod 'razorpay-pod', :git => 'https://github.com/razorpay/razorpay-pod.git', :branch => 'swift5.1'
so that you can install specific Swift 5.1 there, this is for testing purpose you can release it whenever Xcode 11 releases.
@pawanline can you give me some details about the issue?
yes sure, though this issue is not related to razorpay.Its about scroll view delegate not called with release build and text field did begin editing not fired.
When you guys are going to release the new version?
My Swift Version is set to 5.0 everywhere still I am getting this error, why ? I have installed 1.1.2 pod.
Hi, for Swift 5.0 use pod 'razorpay-pod', '1.1.1'
@Nautiyalsachin Tried that too(pod 'razorpay-pod', '1.1.1'). Still gives error.
Module compiled with Swift 5.0 cannot be imported by the Swift 5.1 compiler: /Users/Documents/ProjectName/Pods/razorpay-pod/Pod/Razorpay.framework/Modules/Razorpay.swiftmodule/arm64.swiftmodule
@shirishbankar1, as this error is saying you are using Swift 5.1 and you have to use Swift 5.1 pod
that is - pod 'razorpay-pod'
So, try to upgrade your pod to the current one.
Let me know if the issue still persist.
Yes, thats where I am confused. I have set Swift version to 5.0. I dont even have 5.1 in dropdown in my Xcode 11.0 to set. I have set swift version to 5.0 in Xcode target -> Build settings also in Pods target. I installed pod 'razorpay-pod' too, but gives same error.
try updating your whole code base to Swift 5.1
Closing this issue due to the time elapsed. Please feel free to either re-open the issue or create a new issue if you have any additional queries.
Hello,
Module compiled with Swift 5.0 cannot be imported by the Swift 5.1 compiler: /Pods/razorpay-pod/Pod/Razorpay.framework/Modules/Razorpay.swiftmodule/x86_64.swiftmodule
???