kronenthaler / mod-pbxproj

A python module to manipulate XCode projects
MIT License
1.21k stars 294 forks source link

Is it possible to add build phase from pbxproj command #163

Open jkmathew opened 7 years ago

jkmathew commented 7 years ago

Is it possible to add build phase (especially runs scrip) from pbxproj command in terminal I am expecting something like, pbxproj --add-run-script "echo 'its here'"

I can find its doable from python code with, project.add_run_script("something")

kronenthaler commented 7 years ago

Thanks for the feedback, it can be included in a future release. I can't ensure when that will happen though.

kumarpatel commented 6 years ago

isn't this possible via flags CLI option?

kronenthaler commented 6 years ago

@kumarpatel no, flags modify the configuration settings of the target. The run scripts are added on a build phase of the target. This is marked as an enhancement that will be implemented in the future. Or feel free to contribute it with a PR.