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

Not declaring MASShortcutGlyph as a variable in the header #69

Closed pfandrade closed 9 years ago

pfandrade commented 9 years ago

Not declaring this enum variable in the header prevents a duplicate symbols error:

duplicate symbol _MASShortcutGlyph in:
    /Users/pfandrade/Library/Developer/Xcode/DerivedData/Secrets-epbzwbmqvrgyjjgumbwsgmobfykd/Build/Intermediates/Secrets.build/Debug/Secrets Helper.build/Objects-normal/x86_64/Constants.o
    /Users/pfandrade/Library/Developer/Xcode/DerivedData/Secrets-epbzwbmqvrgyjjgumbwsgmobfykd/Build/Intermediates/Secrets.build/Debug/Secrets Helper.build/Objects-normal/x86_64/AppDelegate.o
ld: 1 duplicate symbol for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)