socketio / socket.io-client-swift

Other
5.22k stars 841 forks source link

Error : no such module 'Starscream' #1135

Open leonnoel777 opened 5 years ago

leonnoel777 commented 5 years ago

How to solve this problem? Anyone solved this?

nuclearace commented 5 years ago

How are you installing the framework?

magnuspyke commented 5 years ago

I'm getting the same issue: I create a brand new iOS project in XCode, download socket.io-client-swift from Github, copy the SocketIO folder under the Source folder to my project, and try and build the project. Build fails with "No such module 'Startscream'" in SocketIOClientOption.swift file.

magnuspyke commented 5 years ago

FYI - I managed to successfully install socket.io-client-swift into an iOS project using CocoaPods following the approach in this article - https://medium.com/@spiromifsud/realtime-updates-in-ios-swift-4-using-socket-io-with-mysql-and-node-js-de9ae771529.