运行自定义 shell 脚本的 Xcode 6
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/29942234/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Xcode 6 running custom shell scripts
提问by harmeet07
When I build my target, in the information tab I can see the scheme building and the target building. At the end of the process it runs 2 custom shell scripts.
当我构建目标时,在信息选项卡中我可以看到方案构建和目标构建。在该过程结束时,它运行 2 个自定义 shell 脚本。
I can't find where the target or project is running these 2 custom shell scrips. I've looked at target > build phases and it's not being set to run there. I also looked at project > build settings but I can't locate it there.
我找不到目标或项目在哪里运行这 2 个自定义 shell 脚本。我已经查看了目标 > 构建阶段,但它没有被设置为在那里运行。我还查看了项目 > 构建设置,但在那里找不到它。
I don't want to run these scripts but I don' know how to remove them! Any help would be great! Thanks
我不想运行这些脚本,但我不知道如何删除它们!任何帮助都会很棒!谢谢
回答by Schemetrical
yup but I know the pods project or targets are not set to run scripts. I've inherited this project on our jenkins it runs 2 scripts at the end of the build. I've removed it from jenkins but not sure how to remove it from the project.
是的,但我知道 pods 项目或目标未设置为运行脚本。我在我们的 jenkins 上继承了这个项目,它在构建结束时运行 2 个脚本。我已将其从 jenkins 中删除,但不确定如何将其从项目中删除。
Pods run scripts. Here's the two scripts being run:
Pod 运行脚本。这是正在运行的两个脚本:
If you don't want to use pods anymore, use this pods-deintegrateplugin to remove all traces of pods.
如果您不想再使用 pod,请使用此pods-deintegrate插件删除所有pod痕迹。