开发者

Is it possible to direct output from build scripts the Xcode build log?

开发者 https://www.devze.com 2023-03-10 12:29 出处:网络
Is there a way to direct output from Xcode build scripts to the build log window in Xcode? I\'ve see it claimed that that \'echo\' will do thi开发者_Go百科s, but my results do not appear in Xcode, bu

Is there a way to direct output from Xcode build scripts to the build log window in Xcode?

I've see it claimed that that 'echo' will do thi开发者_Go百科s, but my results do not appear in Xcode, but in system.log instead.


Have you tried to pipe your output with "open -f" ? Just like this:

 myscrpit.sh   2>&1 | open -f

It will bring up textedit with your log.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号