socket.io-client-swift icon indicating copy to clipboard operation
socket.io-client-swift copied to clipboard

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

Open Vinaykumar-dev opened this issue 5 years ago • 5 comments

@nuclearace can you help me on this? When I install SocketIO in my Framework project using Swift Package Manager the build is successful but there is a warning "Module 'SocketIO' was not compiled with library evolution support; using it means binary compatibility for 'framework name' can't be guaranteed".

Eventually I have to generate XCFramework out of this framework project, even If I generate XCFramework with the warning the final .xcframework is not support when I import it any project. Xcode says "Fail to load module SocketIO"

Can any one help me on this? I tried many possibilities from last one week. Thanks in advance.

Vinaykumar-dev avatar Mar 10 '20 16:03 Vinaykumar-dev

Same issue here. Any update? Cheers

nckh avatar Sep 30 '20 07:09 nckh

Hm, not sure on that one. This library shouldn't need to be made binary compatible between Swift versions, since it's not meant to be distributed in binary form like the Swift core libraries are.

nuclearace avatar Feb 01 '21 14:02 nuclearace

@nuclearace "not binary form", what do you mean? SPM links it statically so it should have evolution support

Screenshot 2023-08-11 at 13 21 35

hrabkin avatar Aug 11 '23 11:08 hrabkin

@nuclearace imagine I want to use newer version of swift in my project but I use your module without evolution support enabled and I can't do this until you recompile your library with newer swift version and ship it.

Evolution support is an an interface in operating system which knows how to handle libraries compiled with earlier versions of swift but they must be compiled with evolution support enabled to benefit the interface.

hrabkin avatar Aug 11 '23 11:08 hrabkin

any news?

ThinhVu avatar Apr 13 '24 06:04 ThinhVu