Clang &引用;找不到实用程序g++&引用;在尝试用Theos(OSX)编译MobileSubstrate调整时

Clang &引用;找不到实用程序g++&引用;在尝试用Theos(OSX)编译MobileSubstrate调整时,clang,theos,cydia,cydia-substrate,Clang,Theos,Cydia,Cydia Substrate,约塞米蒂OSX 10.10.2 我最近安装了Theos以下指南,没有问题。但是,当我尝试编译一个简单的MS调整时,在Terminal.app中出现以下错误: MBP:noeditnc ned$ cd /Users/ned/noeditnc MBP:noeditnc ned$ make Making all for tweak NoEditNC... Preprocessing Tweak.xm... Compiling Tweak.xm (armv7)... xcrun: error: una

约塞米蒂OSX 10.10.2

我最近安装了Theos以下指南,没有问题。但是,当我尝试编译一个简单的MS调整时,在Terminal.app中出现以下错误:

MBP:noeditnc ned$ cd /Users/ned/noeditnc 
MBP:noeditnc ned$ make
Making all for tweak NoEditNC...
Preprocessing Tweak.xm...
Compiling Tweak.xm (armv7)...
xcrun: error: unable to find utility "clang++", not a developer tool or in PATH
make[3]: *** [.theos/obj/armv7/Tweak.xm.5e67a2f0.o] Error 72
make[2]: *** [.theos/obj/armv7/NoEditNC.dylib] Error 2
make[1]: *** [internal-library-all_] Error 2
make: *** [NoEditNC.all.tweak.variables] Error 2
我已经安装了命令行工具和Xcode,并更新到最新版本。谷歌帮不上忙。。。我做错了什么

编辑:已安装Clang++

MBP:noeditnc ned$ clang++ --version
Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.1.0
Thread model: posix

编辑2:找到了解决方案!我在/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/(iPhoneOS8.1而不是iPhoneOS8.2)中有错误的sdk版本号。

看起来你需要安装
clang++
据我所知,clang是用Xcode内置的,而且我已经正确安装了Xcode。