razorpay / razorpay-ios-sample-app

:iphone: Sample app demonstrating integration of Razorpay iOS Framework
MIT License
14 stars 13 forks source link

Facing issue with Module #10

Closed PeddireddyKISHOR closed 6 years ago

PeddireddyKISHOR commented 6 years ago

screen shot 2018-07-06 at 1 54 36 pm Please help me in this. Iam using Xcode 9.2

iThink32 commented 6 years ago

Please refer the FAQ and the readme , it will solve your query.Our latest version will not work on Xcode 9.2 it will only work on Xcode9.3 and above

Adichilla commented 6 years ago

Hi,

For integrating Razor Pay They are supporting only swift 3.1 and swift 4.1

If your project in swift 3.2 so the Razorpay framework has been compiled only for 3.1 either you need to upgrade your project to swift 4.1 or downgrade (not recommended)

If you are going to upgrade note this point.

  1. you need Xcode 9.3 which is the version supporting swift 4.1
  2. for installing Xcode 9.3 you need mac os 10.13.6

once you are downloaded 9.3 don't remove the existing xcode version keep it in Application and use 9.3 in local either (Desktop or documents)

Don't rename the Xcode such as Xcode9.3 this will cause Razorpay header compile time issue.

your Xcode is 9.2 so that you can use swift migrator to change your swift 3.2 code to swift 4.0 once you have done that you don't need to migrate to 4.0 to 4.1 everything will work fine.

if your using Xcode 9.3 and swift 4.1 version

This may help you...

iThink32 commented 6 years ago

closing due to inactivity.