[CMake] XCode4 and archiving

David Cole david.cole at kitware.com
Sun Jun 26 16:37:18 EDT 2011


We will be getting to various Xcode 4 issues over the coming months.

In the meantime, I would look into whether there'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'll check into it
myself and report back.


HTH,
David


On Sun, Jun 26, 2011 at 12:11 PM, Johan Knutzen <knutzen_johan at yahoo.se>wrote:

> I found a workaround, if anybody is interested. The problem lies in the
> cmake generator setting the INSTALL_PATH to "" in the project file. Not sure
> why cmake does this, but a fix is to remove all entries.
>
> Here is a bash script which takes a pbxproj file as argument and fixes it:
> #! /bin/bash
> sed -i".bak" '/INSTALL_PATH/d' $1
>
> Would be helpful if somebody working on cmake would comment, and perhaps
> fix this issue.
>
> Johan
>
>
> --- Den sön 2011-06-26 skrev Johan Knutzen <knutzen_johan at yahoo.se>:
>
> > Från: Johan Knutzen <knutzen_johan at yahoo.se>
> > Ämne: [CMake] XCode4 and archiving
> > Till: cmake at cmake.org
> > Datum: söndag 26 juni 2011 16:00
> > Hey!
> >
> > I've experienced a few hickups when using cmake with XCode
> > 4, and one of them is the ability to create archives. In the
> > IDE you do this by clicking Product->Archive, which
> > results in an archive which you later can sign with
> > different provisioning profiles when distributing iOS apps
> > to beta testers.
> >
> > However, for projects generated using cmake the archiving
> > command does not work. The result of that command should be
> > an archiving listed in the organizer, but that is not the
> > case when you have a cmake generated project.
> >
> > Does anyone have a solution or work around for this?
> >
> > Johan
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the CMake FAQ at:
> > http://www.cmake.org/Wiki/CMake_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.cmake.org/mailman/listinfo/cmake
> >
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110626/55b023f3/attachment.htm>


More information about the CMake mailing list