Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BryghtLabs opened this issue Sep 19, 2023 · 6 comments
Open

Comments

@BryghtLabs
Copy link

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
Copy link
Author

image

@BryghtLabs
Copy link
Author

image

@adamsousa
Copy link

adamsousa commented Oct 4, 2023

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
Copy link

tuanbipa commented Oct 6, 2023

Thanks @adamsousa it works for me

@Shamsiddin
Copy link

Shamsiddin commented Nov 1, 2023

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
Copy link

milanpatoliya commented Jan 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants