cocoabits / MASShortcut

Modern framework for managing global keyboard shortcuts compatible with Mac App Store. More details:
http://blog.shpakovski.com/2012/07/global-keyboard-shortcuts-in-cocoa.html
BSD 2-Clause "Simplified" License
1.52k stars 220 forks source link

Allow app extension API only for the framework target #126

Closed zoul closed 5 years ago

zoul commented 5 years ago

When MASShortcut is used in an app extension, Xcode generates a warning:

linking against a dylib which is not safe for use in application extensions

I have checked the “Allow app extension API only” for the MASShortcut target that should clear this warning. The project builds fine after the change, so I think this is safe? The only hitch could be if we need some non-app-extension API in the future, but that does not seem right anyway?