mod-pbxproj icon indicating copy to clipboard operation
mod-pbxproj copied to clipboard

Is it possible to add build phase from pbxproj command

Open jkmathew opened this issue 7 years ago • 3 comments

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")

jkmathew avatar Jul 11 '17 13:07 jkmathew

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

kronenthaler avatar Jul 11 '17 14:07 kronenthaler

isn't this possible via flags CLI option?

kumarpatel avatar May 31 '18 18:05 kumarpatel

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

kronenthaler avatar May 31 '18 20:05 kronenthaler