SocketRocket icon indicating copy to clipboard operation
SocketRocket copied to clipboard

Error while adding SPM support

Open teendream opened this issue 1 year ago • 1 comments

I created Package.swift to the project. But there is issue with modules. Imports is not available to compiler. I created modulemap, indicated public headers path and project has umbrella header. I have errors while building package swift build.

Building for debugging... /Users/cdti/Documents/Work/SocketRocket/SocketRocket/Internal/Proxy/SRProxyConnect.m:12:9: fatal error: 'NSRunLoop+SRWebSocket.h' file not found #import "NSRunLoop+SRWebSocket.h" ^~~~~~~~~~~~~~~~~~~~~~~~~

Details: https://stackoverflow.com/questions/78820826/error-while-building-spm-package-with-objc-code

Here are source codes: https://github.com/teendream/SocketRocket/tree/feature/spm-support

teendream avatar Aug 01 '24 12:08 teendream

related https://github.com/facebookincubator/SocketRocket/issues/691

nastasiupta avatar Sep 18 '24 12:09 nastasiupta