【问题标题】:What types of languages are supported in Xcode build phases run script?Xcode 构建阶段运行脚本支持哪些类型的语言?
【发布时间】:2013-03-16 07:50:12
【问题描述】:

我是脚本新手,但我需要学习它,以便在 Xcode 项目的构建阶段运行脚本。

我可以在那里编写哪些类型的脚本?支持哪些类型的语言?有没有一种脚本语言比其他语言更容易学习?

只是想在这里找到正确的方向。

非常感谢。

【问题讨论】:

    标签: xcode scripting run-script scripting-languages


    【解决方案1】:

    正确的答案可能是:“适用于 MacOS 附带的任何 shell 的脚本”

    在我的 Mountain Lion 机器上,我看到了:

    [/]:; more /etc/shells
    # List of acceptable shells for chpass(1).
    # Ftpd will not allow users to connect who are not using
    # one of these shells.
    
    /bin/bash
    /bin/csh
    /bin/ksh
    /bin/sh
    /bin/tcsh
    /bin/zsh
    

    创建构建脚本时,您可以在“运行脚本”面板的“Shell”字段中指定所需的 shell。它看起来像这样:

    【讨论】:

      猜你喜欢
      • 2017-01-30
      • 2020-09-04
      • 2012-04-08
      • 1970-01-01
      • 2010-11-23
      • 2015-01-18
      • 2011-10-26
      • 2015-11-26
      • 1970-01-01
      相关资源
      最近更新 更多