cordova-node-xcode icon indicating copy to clipboard operation
cordova-node-xcode copied to clipboard

Support runOnlyForDeploymentPostprocessing

Open vijaysharm opened this issue 6 years ago • 4 comments

  • Pass the option for runOnlyForDeploymentPostprocessing

vijaysharm avatar Nov 10 '19 19:11 vijaysharm

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.

brody4hire avatar Nov 11 '19 22:11 brody4hire

What is the status of this proposal?

It does look valuable if someone could explain the use case.

brody4hire avatar Mar 29 '20 21:03 brody4hire

@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.

Use case

I was able to test this by modifying my local version of xcode and it seemed to work as intended.

misterwell avatar Dec 03 '20 19:12 misterwell

any updates ?

chinkan avatar Sep 03 '21 02:09 chinkan