You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2020/12/03 19:43:55 UTC

[GitHub] [cordova-node-xcode] misterwell commented on pull request #80: Support runOnlyForDeploymentPostprocessing

misterwell commented on pull request #80:
URL: https://github.com/apache/cordova-node-xcode/pull/80#issuecomment-738254360


   @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.
   
   <img width="706" alt="Use case" src="https://user-images.githubusercontent.com/58633/101079354-3953f900-355c-11eb-87a6-bdab5e6e54ff.png">
   
   I was able to test this by modifying my local version of `xcode` and it seemed to work as intended.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org