Comments (5)
@Haibo-Zhou 's steps worked for me too. I had a job finding where Swift version was! It can be found here:
Pods > TARGETS > SwiftSocket > Swift Compiler - Language
from swiftsocket.
I faced this issue as well as you. In my case, changing Swift version from 5 to 4 did not clear this error.
from swiftsocket.
This project is dead now due to Apple's genius move of not-backward-compatible modus? So somewhere in the universe there is an old Xcode waiting to convert your Swift3 to 4. Your mission is to seek the guru who knows where this mythical creature lies.
from swiftsocket.
I fixed this once like this:
` # The easy way to use sockets on Apple platforms - https://github.com/swiftsocket/SwiftSocket
Temporary solution because of using still Swift 3 in pod 2.0.2, see #186
pod 'SwiftSocket', :git => 'https://github.com/swiftsocket/SwiftSocket.git', :branch => 'master'`
from swiftsocket.
I meet the same issue, changing Swift version from 3.x to 5.x fix it.
iOS 14, Xcode 12.
from swiftsocket.
Related Issues (20)
- An existing connection was forcibly closed by the remote host
- How to listen the message from server
- Module compiled with Swift 5.1.3 cannot be imported by the Swift 5.2 HOT 3
- can you make it available for swift package manager? HOT 1
- CocoaPods
- Getting corrupted data in server side
- maximum concurrent open connections? HOT 2
- can I send message from TCPServer to client?
- SwiftSocket doesn't execute on iOS device HOT 1
- Semantic Issue
- how to set tcp_nodelay
- From real device cannot able to send bytes HOT 1
- how can i read data in string formate HOT 1
- [!] Unknown command: `SwiftSocket`
- If using DNS name, how to get the IP Address after using TCPClient?
- I don't understand the point of this library. HOT 3
- Package.swift has no Package.swift manifest for version 2.1.0 in https://github.com/swiftsocket/SwiftSocket
- Read Video file using TCPClient
- Privacy Manifest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swiftsocket.