【问题标题】:xCode external build No such file or directoryxCode 外部构建没有这样的文件或目录
【发布时间】:2012-05-18 21:36:39
【问题描述】:

我在 xCode 4.3.2 中添加了一个带有外部构建的新目标,该目标应该运行一个 shell 脚本。该脚本位于项目中的文件夹 Scripts/update.sh 中。 我的外部构建工具配置是:

Build Tool /bin/bash
Arguments ../Scripts/update.sh

但是当我跑步时,我得到:

 /bin/bash: ../Scripts/update.sh: No such file or directory

如何正确引用文件?

【问题讨论】:

    标签: xcode


    【解决方案1】:

    根据Apple's Documentation,看来您可能希望将update.sh 引用为:

    ${SRCROOT}/Scripts/update.sh
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2023-03-10
      • 2016-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-01-27
      相关资源
      最近更新 更多