I installed socket.io-client-swift lib success from cocoapods (no errors) but then Xcode can not complie. Who can help me intergrated this lib into my objective c project. Thanks!
@MD04-TanTan I have the similar problem. But I could not complie with Swift project (Swift 4, Xcode 9.4.1). And I installed Socket.IO-Client-Swift (13.2.1). I wonder whether Socket.IO-Client-Swift (13.2.1) support Swift 4.
@MD04-TanTan I finally solved this problem. Here is my solution:
1 I go to Build Settings > Swift Language Version, and I set the swift version to 4.1
2 In Podfile I changed Socket.IO-Client-Swift version to 13.3.0 like this pod 'Socket.IO-Client-Swift', '~> 13.3.0'
3 pod update
@MD04-TanTan Is your problem solved?
@MD04-TanTan add use_frameworks! to Podfile
@huforrest : Thanks. This fixed the issue.
Most helpful comment
@MD04-TanTan I finally solved this problem. Here is my solution:
1 I go to Build Settings > Swift Language Version, and I set the swift version to 4.1
2 In Podfile I changed Socket.IO-Client-Swift version to 13.3.0 like this pod 'Socket.IO-Client-Swift', '~> 13.3.0'
3 pod update