I have a C library that compiles to a framework for MacOS/iOS and to a static/shared library on other platforms. Since updating to Xcode 12 I've run into the warning about double-quoted headers in a framework umbrella header and I'd like to update the library to be more "correct", but doing so results in name/path conflicts for the library headers.
When another project references the library, a header can be located via <framework/header.h>, yet when building the library that path is incorrect. That is, the path to the header within the project structure is not the same as when packaged as a framework (or, for instance, when installed to /usr/local/include). This is a problem with dependencies between library headers. Futhermore, when building, the project must use the version of the headers located within the project directory--not those previously installed in some system include path.
According to the C spec, including via angle brackets is supposed to search for headers in the system include paths--not relative to the current directory--so how does using angle brackets in the umbrella header even work reliably in the first place?
It feels like I'm missing something obvious, here.
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
The Xcode 12.3 editor is deleting both characters in a pair of sequential braces/brackets/parentheses with a single press of the 'delete' key, even though brace matching is turned off in the preferences.
Is there a new preference somewhere I can use to turn off this behaviour? It's extremely disruptive when typing quickly.