Hello,<br><br>I managed to reproduce the problem with the simple HelloWorld given by Nicholas a bit earlier in this thread, with a slight modification.<br>The problem seems to come from : <b>set(CMAKE_OSX_SYSROOT iphoneos6.0)</b><div>
<br><div>Just add this line to the CMakeLists.txt, and you will see that the path for the build changes from Debug/ to Debug-iphoneos/</div><div>This seems to confuse cmake 2.8.10 paths ( but is fine with cmake 2.8.9 )<br>
<div><br></div><div>Let me know if you need anything else,</div><div>--<br clear="all"><div>AlexV</div><br><div class="gmail_quote">2013/1/15 Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 01/13/2013 09:37 PM, Asmodehn Shade wrote:<br>
> bash-3.2$ xcodebuild Tutorial.xcodeproj/<br>
<div class="im">> === BUILD AGGREGATE TARGET ZERO_CHECK OF PROJECT Tutorial WITH THE DEFAULT CONFIGURATION (Debug) ===<br>
> Check dependencies<br>
> unsupported build action 'Tutorial.xcodeproj'<br>
<br>
</div>The xcodebuild command does not take the .xcodeproj as an argument.<br>
You need to use "-project $proj" if there is more than one project<br>
in a directory. Otherwise you do not need to specify it at all.<br>
<div class="im"><br>
> 2) cmake --build . --config Debug works too :<br>
</div>> /** BUILD SUCCEEDED **/<br>
<div class="im">><br>
> => Does cmake --build . --config Debug does something special ?<br>
<br>
</div>It runs a valid xcodebuild command line.<br>
<div class="im"><br>
> => Another thing to consider is that my original project fails to<br>
</div>> build *in the IDE*, with the same error as Nicholas previously stated<br>
> in this thread :<br>
[snip]<br>
<div class="im">> make[1]: *** No rule to make target `/Users/alexandre.vincent/Projects/my_project/prj/iOS/CMakeFiles/2.8.10/CMakeCCompiler.cmake', needed by `CMakeFiles/cmake.check_cache'.<br>
</div>[snip]<br>
<div class="im">> So is it possible that the Tutorial sample problem may not match the<br>
> actual cause of the original problem ?<br>
<br>
</div>Yes. The tutorial build does work as seen with "cmake --build".<br>
There must be something about the project itself that is different<br>
from the tutorial example and triggers the problem.<br>
<br>
Can you provide a small example project that does reproduce the<br>
problem?<br>
<span class="HOEnZb"><font color="#888888"><br>
-Brad<br>
</font></span></blockquote></div><br></div></div></div>