[Interest] How to run a custom command after dSYM generation for iOS ?

Gian Maxera gmaxera at gmail.com
Thu Oct 29 15:31:28 CET 2015


:-( So, there is no alternative but manually tweak the generated Xcode :-(

> On 29 Oct 2015, at 14:23, Igor Mironchik <igor.mironchik at gmail.com> wrote:
> 
> Hi,
> 
> 10/29/2015 12:29 PM, Gustavsen Richard пишет:
>>> I try QMAKE_POST_LINK … but it’s executed just one step before the generation of dSYM :-(
>>> So, I need something like QMAKE_POST_POST_LINK :-P
>> Then your out of luck :) There is no such thing in QMake (that will affect the Xcode project).
>> What you can do is to manually create an extra target in Xcode that runs your script, and say that the target depends on the application target to build first. The problem is that as soon as you rerun qmake, it will be wiped out again.
> 
> I did exactly the same one... And I found only one solution: define QMAKE_POST_LINK in qmake .pro file. And after generating XCode project I drag and drop this QtPostLink to the end of list....
> 
> 
>> 
>> -Richard
>> 
>>> On 28 Oct 2015, at 14:23, Gustavsen Richard <Richard.Gustavsen at theqtcompany.com> wrote:
>>> 
>>> Hi!
>>> 
>>> 1. You can do:
>>> QMAKE_XCODE_DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
>>> 
>>> 2. You can try to use:
>>> QMAKE_POST_LINK="<your bash script>"
>>> 
>>> -Richard
>>> 
>>> ________________________________________
>>> Fra: Interest <interest-bounces at qt-project.org> på vegne av Gian Maxera <gmaxera at gmail.com>
>>> Sendt: 28. oktober 2015 13:00
>>> Til: interest
>>> Emne: [Interest] How to run a custom command after dSYM generation for  iOS ?
>>> 
>>> Hello,
>>> I need to do 2 things:
>>> 1) setup the iOS compilation to always create dSYM for all configuration. The default is not to generate dSYM.
>>> 2) run a custom command after the dSYM has been created.
>>> 
>>> Anyone know how to do that ?
>>> 
>>> Thanks,
>>> Gianluca.
>>> 
>>> _______________________________________________
>>> Interest mailing list
>>> Interest at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/interest
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/interest
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list