when i was build MetaEmoji.xcodeproj drop this error:
/usr/local/tdesktop/Qt-5.6.0/bin/moc -D_DEBUG -DQT_WIDGETS_LIB -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_CORE_LIB -D__APPLE__ -D__GNUC__=4 -I/usr/local/tdesktop/Qt-5.6.0/mkspecs/macx-clang -I/usr/local/tdesktop/Qt-5.6.0/include/QtGui/5.6.0/QtGui -I/usr/local/tdesktop/Qt-5.6.0/include/QtCore/5.6.0/QtCore -I5.6.0/include -IGeneratedFiles/Debug -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1/backward -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/c++/4.2.1 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/5.1/include -I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include SourceFiles/_other/genemoji.h -o GeneratedFiles/Debug/moc_genemoji.cpp
moc: Cannot create GeneratedFiles/Debug/moc_genemoji.cpp
make: *** [GeneratedFiles/Debug/moc_genemoji.cpp] Error 1
Command /bin/sh failed with exit code 2
what should i do ?
help me, thanks!!!!

Did you try some solutions from google?
I tried, but I didn't use it.
thanks
I also met it, and finally found that moc can't create directory by self, you need mkdir -p GeneratedFiles/Debug in Telegram directory.
to @auchri : I think add mkdir -p GeneratedFiles/Debug to Preprocess is a better choice.
btw, why use Debug directory for qt generated files? I think use qt directory is better, Debug make me confuse with BUILD CONFIGURATION.
Most helpful comment
I also met it, and finally found that moc can't create directory by self, you need
mkdir -p GeneratedFiles/Debugin Telegram directory.to @auchri : I think add
mkdir -p GeneratedFiles/Debugto Preprocess is a better choice.btw, why use Debug directory for qt generated files? I think use qt directory is better, Debug make me confuse with BUILD CONFIGURATION.