socketio / socket.io-client-swift

Other
5.22k stars 842 forks source link

Fails to build in Xcode 13 #1356

Open kuprel opened 3 years ago

kuprel commented 3 years ago

Building in Xcode 13 gives the warning message:

Module 'SocketIO' was not compiled with library evolution support; using it means binary compatibility for 'TestApp' can't be guaranteed

A simple test app runs fine with "debug" build configuration, but when changed to "release" build configuration the following error occurs:

Failed to build module 'Network'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.5 (swiftlang-1300.0.17.216 clang-1300.0.18.1)', while this compiler is 'Apple Swift version 5.5 (swiftlang-1300.0.19.104 clang-1300.0.18.4)'). Please select a toolchain which matches the SDK.

jeyanthanperiyasamy commented 3 years ago

SocketIO failed to build in Xcode 13 with swift 5.5. is there any timeline to fix this issue ?

juanjovn commented 3 years ago

Same here with Carthage in Xcode 13 and Monterey:

Build Failed: … … This usually indicates that project itself failed to compile.

Edit: I fixed my issue replacing the 1200 by 1300 in the carthage workaround script

MakinoRuki commented 2 years ago

Same here !!

mehdigriche commented 1 year ago

+1