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

Error while adding SPM support #686

Open
teendream opened this issue Aug 1, 2024 · 1 comment
Open

Error while adding SPM support #686

teendream opened this issue Aug 1, 2024 · 1 comment

Comments

@teendream
Copy link

teendream commented Aug 1, 2024

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

@nastasiupta
Copy link

related #691

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

2 participants