triniwiz / nativescript-socketio

Socket.IO for nativescript
Apache License 2.0
71 stars 31 forks source link

iOS: Socket.IO-Client-Swift error on build #41

Closed budilovskiy closed 7 years ago

budilovskiy commented 7 years ago

Hi. When I'm trying to run app with nativescript-socketio plugin, i get an error during building process:

.../platforms/ios/Pods/Socket.IO-Client-Swift/Source/SocketIOClientConfiguration.swift:28:62: error: 'Generator' has been renamed to 'Iterator'
    public typealias Generator = Array<SocketIOClientOption>.Generator
                                                             ^~~~~~~~~
                                                             Iterator
Swift.Collection:3:22: note: 'Generator' has been explicitly marked unavailable here
    public typealias Generator = Self.Iterator
                     ^

After changing pod 'Socket.IO-Client-Swift', ‘8.0.2’ to pod 'Socket.IO-Client-Swift', ‘8.3.0’ in Podfile application starts normally. Could you update the version of Socket.IO-Client-Swift?

roblav96 commented 7 years ago

@budilovskiy ill try this out and publish if it works. Thanks for the pointer.

triniwiz commented 7 years ago

fixed in the new release