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">&lt;<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>&gt;</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>
&gt;         bash-3.2$ xcodebuild Tutorial.xcodeproj/<br>
<div class="im">&gt;         === BUILD AGGREGATE TARGET ZERO_CHECK OF PROJECT Tutorial WITH THE DEFAULT CONFIGURATION (Debug) ===<br>
&gt;         Check dependencies<br>
&gt;         unsupported build action &#39;Tutorial.xcodeproj&#39;<br>
<br>
</div>The xcodebuild command does not take the .xcodeproj as an argument.<br>
You need to use &quot;-project $proj&quot; 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>
&gt; 2) cmake --build . --config Debug works too :<br>
</div>&gt; /** BUILD SUCCEEDED **/<br>
<div class="im">&gt;<br>
&gt; =&gt; Does cmake --build . --config Debug does something special ?<br>
<br>
</div>It runs a valid xcodebuild command line.<br>
<div class="im"><br>
&gt; =&gt; Another thing to consider is that my original project fails to<br>
</div>&gt; build *in the IDE*, with the same error as Nicholas previously stated<br>
&gt; in this thread :<br>
[snip]<br>
<div class="im">&gt; make[1]: *** No rule to make target `/Users/alexandre.vincent/Projects/my_project/prj/iOS/CMakeFiles/2.8.10/CMakeCCompiler.cmake&#39;, needed by `CMakeFiles/cmake.check_cache&#39;.<br>
</div>[snip]<br>
<div class="im">&gt; So is it possible that the Tutorial sample problem may not match the<br>
&gt; actual cause of the original problem ?<br>
<br>
</div>Yes.  The tutorial build does work as seen with &quot;cmake --build&quot;.<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>