[Interest] Run script right before qmake finishes (or: embedd iOs framework)
schluchti at gmail.com
Thu Jan 5 20:03:22 CET 2017
I am currently getting the following error when compiling my Qt iOs app:
Library not loaded: @rpath ....
Reason: image not found
I know that I can solve this issue by adding the framework which causes the
problem to the "Embedded Binaries" section in my XCode project.
Unfortunately, I currently have to do this manually every time qmake is run
(as it gets overwritten). See also this related ticket: 
In one of the comments, Luke Vear mentioned his script  which
automatically adds a given framework to the "Embedded Binaries" section. He
does that with the help of a "custom process step". I really like the idea
of scripting that, but I don't want to do this with a custom process step.
The reason for that is, that I have many build machines, which makes it
difficult to keep all the build configurations in sync.
So I thought about whether it's possible to modify my *:pro file in a way,
that the script gets run automatically after everything else finished? I
know that I can run a script with "system", but how can I make sure that it
runs after qmake created the XCode project? Does anyone know how I can
Thanks for reading this,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest