Instamojo/ios-sdk

Linker Error while compiling

Opened this issue · 2 comments

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)

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)

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