I can't even get out of the box.

I start swift and select a new playground. I then add the package ORSSerialPort to the playground. Just like in the examples on YouTube. When I import ORSSerial I get the following error.


What am I missing. The YouTube seems to work fine for building a program on a Mac to access the serial ports.

Attachments

1 reply

October 02, 2025 Language English

Hello,

Sorry about the delay, I rally hope that you were able to figure it out before this response. I think it might be cause you need to make the import statement the the entire package name so it would be

Import ORSSerialPort

and not

Import ORSSerial

At least thats what has worked for me in the past.

This post contains content from YouTube.

If you choose to view this content, YouTube may collect and process certain personal data. You can view YouTube’s <a href="https://www.youtube.com/t/privacy" target="_blank">privacy policy here<span class="a11y">(opens in new window)</span>.</a>

This post contains content from YouTube.

You have rejected content from YouTube. If you want to change your consent, press the button below.