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

Double-quoted include "MASxyz.h" in framework header, expected angle-bracketed instead #172

Closed eternalstorms closed 2 years ago

eternalstorms commented 2 years ago

Problem is in Shortcut.h, where instead of #import <MASShortcut/xyz.h>, it's just #import "MASxyz.h", resulting in the warning

Double-quoted include "MASxyz.h" in framework header, expected angle-bracketed instead

eternalstorms commented 2 years ago

Working around this for now by setting "Quoted Include In Framework Header" under "Apple Clang - Warnings - All languages" in the project settings to No.

shpakovski commented 2 years ago

Hi Matthias, thanks for the problem report. I believe there were some other issues with angle brackets in previous versions of Xcode. Could you please submit a Pull Request if you have a working solution for Xcode 13? Sorry for the slow response!