Xcode 4.4 error: file mach_debug / mach_debug_types.h not found

After installing 4.4, I tried to create the current project and get an error: the Lexical file or the preprocessor "mach_debug / mach_debug_types.h file" was not found. Then it shows me the inclusion of MacOSX10.8 / user / include / mach / host_priv.h in the file. I get the same error, regardless of whether I choose 10.7 or 10.8 as the target os. I can not find the file (or mach_debug directory) on my machine.

Any ideas?

+4
source share
2 answers

I installed it only to copy the folder ../ MacOSX10.7 / user / include / mach_debug ../ MacOSX10.8 / user / include /

+3
source

You only need to change the base SDK in the "Build Settings" section of your current target from Mac OS X 10.8 to Mac OS X 10.7, and then recompile it should work.

+1
source

Source: https://habr.com/ru/post/1397056/


All Articles