1) Create Directory: /tmp/objc.dst/usr/include
2) from libauto project, get auto_zone.h. Put it in the directory we just created.
3) from libclosure project, get Block_private.h. Put it in the directory we just created.
4) from libc project, get CrashReporterClient.h. Put it in the directory we just created.
from libc project, get pthreads/pthread_machdep.h. Put it in the directory we just created with dirname of "system".
5) from libdispatch project, get private-dir codes. Put it in the directory we just created with dirname of "dispatch".
6) from dyld project, get dyld_priv.h. Put it in the directory we just created with dirname of "mach-o".
from dyld project, get objc-shared-cache.h. Put it in the directory we just created.
7) from xnu project, get osfmk/machine/cpu_capabilities.h. Put it in the directory we just created with dirname of "system/machine".
8) from lanuchd project, get vproc_priv. Put it in the directory we just created.
After did all these stuff, you'll get a structure as follow:
In the project navigator, select your project.
Select your target.
Select the "Build Phases" tab.
Open "Link Binaries With Libraries" expander.
Click the + button.
Select your framework.