Skip to content
Nat! edited this page Mar 27, 2019 · 10 revisions

For Xcode integration it is recommended to use the "legacy workflow" with shared libraries, as it is simpler to setup and maintain.

Install "Legacy workflow"

brew install mulle-kybernetik/software/Foundation

Add mulle-clang as a compiler to Xcode

/usr/local/bin/mulle-clang-add-to-xcode

MulleClang should now be a choosable option in the project "Build Settings" as GCC_VERSION/Compiler for C/C++/Objective-C.

Disable Apple runtime

Turn off CLANG_ENABLE_OBJC_ARC in your "Build Settings" settings, just hit DELETE. The project should revert to the default "NO".

Set CLANG_LINK_OBJC_RUNTIME in your "Build Settings" settings to "NO".

Add libFoundation.dylib

Set SYSTEM_HEADER_SEARCH_PATHS?/System Header Search Pathsto/usr/local/include:$(inherited). Set LIBRARY_SEARCH_PATHS/Library Search Pathsto/usr/local/include:$(inherited)`.

Clone this wiki locally