Instamojo / ios-sdk

Instamojo Payment Integration for iOS
https://docs.instamojo.com/page/ios-sdk
GNU Lesser General Public License v3.0
6 stars 13 forks source link

Linker Error while compiling #23

Open greenSyntax opened 6 years ago

greenSyntax commented 6 years ago

I have just installed instamojo framework

# Pods for InstamojoDemo
  pod 'Instamojo', :git => 'https://github.com/Instamojo/ios-sdk.git', :tag => '1.0.12'
  pod 'InstaMojoiOS', '0.0.2' 

And, it pops linker error on compiling.

ld: /Users/abhishekkumarravi/Documents/Projects/InstamojoDemo/Pods/InstaMojoiOS/InstaMojoiOS-Release-iphoneuniversal/InstaMojoiOS.framework/InstaMojoiOS compiled with older version of Swift language (4.0) than previous files (unknown ABI version 0x06) file '/Users/abhishekkumarravi/Documents/Projects/InstamojoDemo/Pods/InstaMojoiOS/InstaMojoiOS-Release-iphoneuniversal/InstaMojoiOS.framework/InstaMojoiOS' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Dhvl-Golakiya commented 5 years ago

Hi, Getting same error after upgrading version:

# Pods for InstamojoDemo
  pod 'Instamojo', :git => 'https://github.com/Instamojo/ios-sdk.git', :tag => '1.0.16'
  pod 'InstaMojoiOS', '0.0.3' 

Getting below error:

ld: /Users/dhvl/Documents/Projects/InstamojoDemo/Pods/InstaMojoiOS/InstaMojoiOS-Release-iphoneuniversal/InstaMojoiOS.framework/InstaMojoiOS compiled with older version of Swift language (4.0) than previous files (unknown ABI version 0x06) file '/Users/dhvl/Documents/Projects/InstamojoDemo/Pods/InstaMojoiOS/InstaMojoiOS-Release-iphoneuniversal/InstaMojoiOS.framework/InstaMojoiOS' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
greenSyntax commented 5 years ago

I don't know, they haven't made any update.