naderio / nativescript-socket.io

Fully-featured Socket.IO client implementation for NativeScript
The Unlicense
48 stars 21 forks source link

iOS Swift 4.0 Build Failed #50

Closed b02505048 closed 5 years ago

b02505048 commented 6 years ago

Am using XCode 10.1 with Swift 4.0 and required to use nativescript-algolia which must work under Swift 4.0

pod 'AlgoliaSearch-Client-Swift', '~> 5.0'

post_install do |installer|
    installer.pods_project.targets.each do |target|
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '4.0'
      end
    end
end

May I ask is it currently supporting Swift 4.0 or above ? Thank you!

naderio commented 5 years ago

@b02505048 Swift 4.0 requires upgrading the native part which have some breaking changes there is no plan for upgrading for now