【问题标题】:Is it possible to direct output from build scripts the Xcode build log?是否可以将构建脚本的输出定向到 Xcode 构建日志?
【发布时间】:2011-06-06 12:52:07
【问题描述】:

有没有办法将 Xcode 构建脚本的输出定向到 Xcode 中的构建日志窗口?

我已经看到claimed 'echo' 会执行此操作,但我的结果不会出现在 Xcode 中,而是出现在 system.log 中。

【问题讨论】:

    标签: xcode4 build-process logging xcodebuild


    【解决方案1】:

    您是否尝试过使用 "open -f" 管道输出? 就像这样:

     myscrpit.sh   2>&1 | open -f
    

    它会在你的日志中显示 textedit。

    【讨论】:

      猜你喜欢
      • 2012-07-06
      • 2019-08-21
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-04-26
      • 2014-05-30
      相关资源
      最近更新 更多