Ios CMake 2.8.10.2与Xcode 4.6一起失败

Ios CMake 2.8.10.2与Xcode 4.6一起失败,ios,xcode,cmake,allegro,allegro5,Ios,Xcode,Cmake,Allegro,Allegro5,我正在尝试为iOS构建5.0.8游戏库,似乎CMake 2.8.10.2在Xcode 4.6中失败了: localhost:build steve$ cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-iphone.cmake -G Xcode .. -- The C compiler identification is Clang 4.2.0 -- The CXX compiler identification is Clang 4.2.0 -- C

我正在尝试为iOS构建5.0.8游戏库,似乎CMake 2.8.10.2在Xcode 4.6中失败了:

localhost:build steve$ cmake -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-iphone.cmake -G Xcode .. -- The C compiler identification is Clang 4.2.0 -- The CXX compiler identification is Clang 4.2.0 -- Check for working C compiler using: Xcode -- Check for working C compiler using: Xcode -- broken CMake Error at /usr/local/Cellar/cmake/2.8.10.2/share/cmake/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" is not able to compile a simple test program. It fails with the following output: Change Dir: /Users/steve/DEV/allegro/allegro-5.0.8/build/CMakeFiles/CMakeTmp Run Build Command:/usr/local/Cellar/cmake/2.8.10.2/bin/cmakexbuild -project CMAKE_TRY_COMPILE.xcodeproj build -target cmTryCompileExec2759687021 -configuration Debug === BUILD NATIVE TARGET cmTryCompileExec2759687021 OF PROJECT CMAKE_TRY_COMPILE WITH CONFIGURATION Debug === Check dependencies target specifies product type 'com.apple.product-type.tool', but there's no such product type for the 'iphoneos' platform ** BUILD FAILED ** The following build commands failed: Check dependencies (1 failure) CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:31 (project) -- Configuring incomplete, errors occurred! localhost:build steve$ cmake --version cmake version 2.8.10.2 localhost:build steve$
有什么想法吗?

你试过运行上面提到的编译器clang,看看它是否真的坏了吗?clang有效。我刚刚成功编译并运行了一个简单的Hello World。哦,太好了,看起来像一个开放的bug。仍然发生在Xcode 5中。啊,OSX 10.9中仍在发生!!