26 error on Swift 4.2 on Xcode 10
ashishfission opened this issue · comments
Hey @ashishfission, this project supports Swift 4.0.
You'll need to add a CocoaPods post-install hook to your Podfile to inform the compiler that you want to use another Swift version with this module.
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'MessageViewController'
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.0'
end
end
end
end
Hope this helps
@SD10 Thanks :)