socketio / socket.io-client-swift

Other
5.21k stars 839 forks source link

Socket.IO-Client-Swift version 16 Crash on iOS 16, built with Xcode 15 #1459

Open BryghtLabs opened 11 months ago

BryghtLabs commented 11 months ago

Hi there, I just upgraded my Xcode to Version 15 from 14. Now, Socket.IO-Client-Swift version 16.* Crashes on connection with iOS devices that run iOS 16, but it doesn't crash on iOS 17. Any help would be appreciated.

BryghtLabs commented 11 months ago

image

BryghtLabs commented 11 months ago

image

adamsousa commented 10 months ago

Seems the current project target is set to iOS 10. NWProtocolTCP.Options requires iOS 12+ when built in Xcode 15.

Updating it solved this issue for me.

tuanbipa commented 10 months ago

Thanks @adamsousa it works for me

Shamsiddin commented 10 months ago
MacBook m1 Pro.
MacOS version: Sonoma 14.0
pod --version: 1.12.0
XCode version: 15.0
Socket.IO-Client-Swift version: 16.1.0
Projects minimum deployment target: iOS 12.0

Increased Minimum deployment target up to iOS 15, still having the same crash.

Does anyone know how to fix this problem?

milanpatoliya commented 7 months ago

if let options = NWProtocolTCP.Options()

My app is crase on this point Xcode Version = Version 15.0.1 (15A507) iPhone 8 ios = 15.3.1

@BryghtLabs