tmandry / Swindler

macOS window management library for Swift
https://tmandry.github.io/Swindler/docs/main/
MIT License
690 stars 66 forks source link

Mac App Store #61

Open pascalbros opened 5 years ago

pascalbros commented 5 years ago

Hi, I'm just wondering if this library can be included in an App for the Mac App Store. What Apple says in their guidelines about this? Can we use these APIs or we should stay inside of our sandbox? Thanks, regards.

Pascal

tmandry commented 5 years ago

I don't know the latest on this, but it seems that as of a few years ago, sandboxed apps were not allowed to use these APIs: link. (Though Apple was allowing older non-sandboxed apps to continue using them.)

This makes sense to me, because the accessibility APIs are extremely powerful and in theory let you read anything on the user's screen. I honestly wouldn't expect most apps using these APIs to make it to the app store, unless they were actually for accessibility purposes.