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
No such module 'MQTTNIO' for watchos application #7
Comments
I just tested with a watch application and it seems to work fine.
|
@sroebert awesome it works. I have a standalone watchos application as my target. The error is just Let me play with this a bit more. i'm sure i'm doing something stupid. Thanks for confirming it works! |
That happens from time to time with Xcode, in the new beta version you can clear the errors from the menu before building, this might hide it. |
@sroebert is there a chance you can share your watch application. I basically create a new standalone watchos "Watch App", add the mqtt-nio package with File -> Add Packages... with URL https://github.com/sroebert/mqtt-nio.git (tried main and 2.6.0) and then added the |
in case anyone runs into this the trick is to add the package to the extension and not the base |
Per the instructions I have added this package, but I can't seem to import the module. Seems to work fine for an ios application. I must be missing something obvious. Is there anything I can try?
This is the relevant code in my swift code
The text was updated successfully, but these errors were encountered: