We will be getting to various Xcode 4 issues over the coming months.<div><br></div><div>In the meantime, I would look into whether there&#39;s a way to suppress the generation of the INSTALL_PATH lines rather than having to run a post-processing script. If I remember this later on.... I&#39;ll check into it myself and report back.</div>
<div><br></div><div><br></div><div>HTH,</div><div>David</div><div><br></div><div><br><div class="gmail_quote">On Sun, Jun 26, 2011 at 12:11 PM, Johan Knutzen <span dir="ltr">&lt;<a href="mailto:knutzen_johan@yahoo.se">knutzen_johan@yahoo.se</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I found a workaround, if anybody is interested. The problem lies in the cmake generator setting the INSTALL_PATH to &quot;&quot; in the project file. Not sure why cmake does this, but a fix is to remove all entries.<br>

<br>
Here is a bash script which takes a pbxproj file as argument and fixes it:<br>
#! /bin/bash<br>
sed -i&quot;.bak&quot; &#39;/INSTALL_PATH/d&#39; $1<br>
<br>
Would be helpful if somebody working on cmake would comment, and perhaps fix this issue.<br>
<br>
Johan<br>
<br>
<br>
--- Den sön 2011-06-26 skrev Johan Knutzen &lt;<a href="mailto:knutzen_johan@yahoo.se">knutzen_johan@yahoo.se</a>&gt;:<br>
<br>
&gt; Från: Johan Knutzen &lt;<a href="mailto:knutzen_johan@yahoo.se">knutzen_johan@yahoo.se</a>&gt;<br>
&gt; Ämne: [CMake] XCode4 and archiving<br>
&gt; Till: <a href="mailto:cmake@cmake.org">cmake@cmake.org</a><br>
&gt; Datum: söndag 26 juni 2011 16:00<br>
<div><div></div><div class="h5">&gt; Hey!<br>
&gt;<br>
&gt; I&#39;ve experienced a few hickups when using cmake with XCode<br>
&gt; 4, and one of them is the ability to create archives. In the<br>
&gt; IDE you do this by clicking Product-&gt;Archive, which<br>
&gt; results in an archive which you later can sign with<br>
&gt; different provisioning profiles when distributing iOS apps<br>
&gt; to beta testers.<br>
&gt;<br>
&gt; However, for projects generated using cmake the archiving<br>
&gt; command does not work. The result of that command should be<br>
&gt; an archiving listed in the organizer, but that is not the<br>
&gt; case when you have a cmake generated project.<br>
&gt;<br>
&gt; Does anyone have a solution or work around for this?<br>
&gt;<br>
&gt; Johan<br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the CMake FAQ at:<br>
&gt; <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
&gt;<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br></div>