socketio / socket.io-client-swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

BryghtLabs opened this issue · comments

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.

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.

Thanks @adamsousa it works for me

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?

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