FuzzyIdeas / Clop

Clipboard optimizer for macOS
https://lowtechguys.com/clop
GNU General Public License v3.0
520 stars 23 forks source link

Cannot find X in scope #3

Closed dmoena closed 1 year ago

dmoena commented 1 year ago

Hello! Noob here, so I might be reporting something very basic. I'm getting several errors. Most of them, "Cannot find X in scope", where X is Regex, Window and SMAppService. My guest is I'm missing some dependency, but as I said, I'm new to Mac App development.

Thanks for sharing! I'm using this as a learning project and plan to make some changes (would not say improvements yet)

alin23 commented 1 year ago

Hi 👋

Clop only works on macOS Ventura 13.0 or later.

Sounds like you're compiling with an older toolchain. Those missing APIs were introduced in macOS 13.0 with Xcode 14.

dmoena commented 1 year ago

Thank you for answering! Actually, I'm using exactly what you said. macOS Ventura 13.0.1 on M1 processor and Xcode 14.0.1

I'll keep digging. Now at least I'm OK from the OS and Xcode point of view.

Thanks!

alin23 commented 1 year ago

Hmm that's odd. Clop has zero dependencies, it only relies on what the system provides, so it's definitely not something that hasn't downloaded etc.

It might be that the toolchain is pointed to an older version.

image

Or maybe check if xcode-select is configured correctly:

image

dmoena commented 1 year ago

Thanks! I had Xcode 14.0.1 After updating to 14.1 it worked. Thanks you guys!