cordova-node-xcode
cordova-node-xcode copied to clipboard
Support runOnlyForDeploymentPostprocessing
- Pass the option for
runOnlyForDeploymentPostprocessing
This seems to be a solution for #49.
Unfortunately I do not really follow what this does, why, and how we can be sure it does not break anything else. Any explanation would be much appreciated.
What is the status of this proposal?
It does look valuable if someone could explain the use case.
@brodybits I came across this today as I had a similar need, and I can provide context to what it does:
The runOnlyForDeploymentPostprocessing property controls a checkbox within custom script phases that dictates whether the script is run on ANY build, or only on archival (AKA "install") builds. In the screenshot below you'll see that the shell script I'm running strips out x86_64 symbols from the .framework file, which should only be done when generating a build to be installed on an actual device.
I was able to test this by modifying my local version of xcode and it seemed to work as intended.
any updates ?