# SDL2 Mac OS Xcode 11 #includes

**URL:** <https://discourse.libsdl.org/t/sdl2-mac-os-xcode-11-includes/38413>\
**Category:** SDL Development\
**Created:** [August 28, 2022, 12:19pm UTC](https://discourse.libsdl.org/t/sdl2-mac-os-xcode-11-includes/38413 "2022-08-28T12:19:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![kaleida](https://discourse.libsdl.org/letter_avatar_proxy/v4/letter/k/13edae/32.png) [@kaleida](https://discourse.libsdl.org/u/kaleida)\
**Post date:** [August 28, 2022, 11:05pm UTC](https://discourse.libsdl.org/t/sdl2-mac-os-xcode-11-includes/38413/3 "2022-08-28T23:05:24Z")

</div>

After changing “Sub-Directories to Exclude in Recursive Searches”, where I removed the \*.framework entry, the compile goes further, and it looks like it is now finding the headers.

Now it’s stuck because some of SDL2.framework, SDL2\_image.framework, or SDL2\_ttf.framework are not signed.

Ok, so I typed the following (from my previous posting regarding code signing for SDL2, [Install problem - Catalina](https://discourse.libsdl.org/t/install-problem-catalina/28606)):

codesign -f -s - SDL2.framework  
codesign -f -s - SDL2\_image.framework  
codesign -f -s - SDL2\_ttf.framework

That caused the complaints about SDL2.framework and SDL2\_image.framework not being signed to disappear.

Now I have one error left:

/Users/(me)/Library/Developer/Xcode/DerivedData/SDLTextDemo-dtteyamlzkcexqfubjbkpquqwllu/Build/Products/Debug/SDL2\_ttf.framework/Versions/A: code object is not signed at all

In subcomponent: /Users/(me)/Library/Developer/Xcode/DerivedData/SDLTextDemo-dtteyamlzkcexqfubjbkpquqwllu/Build/Products/Debug/SDL2\_ttf.framework/Versions/A/Frameworks/FreeType.framework

Command CodeSign failed with a nonzero exit code

Seems like SDL2\_ttf.framework might need more than I accomplished by trying a basic codesign.

I don’t know what to do now.

---

_[View the full topic](https://discourse.libsdl.org/t/sdl2-mac-os-xcode-11-includes/38413)._
