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

Module compiled with Swift 5.0 cannot be imported by the Swift 4.2.1 compiler #65

Closed rijaaz closed 5 years ago

rijaaz commented 5 years ago

I am getting this compile time error when I was setting up an already existing project.

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

IDE Specs

Xcode version - 10.1 Razorpay - 1.1.2 installed via cocoapods.

pronav commented 5 years ago

Try version 1.0.28, as new version only works with xcode 10.2

pronav commented 5 years ago

@rijaaz does downgrading resolve the issue?