向 Xcode 添加了运行脚本阶段,但没有任何反应 [英] Added Run Script phase to Xcode, but nothing happens

查看:39
本文介绍了向 Xcode 添加了运行脚本阶段,但没有任何反应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的 Xcode 项目中添加了一个运行脚本构建阶段,脚本只是

I added a Run Script build phase to my Xcode project, the script is just

echo "Hello"

我没有在调试控制台或任何东西中看到 hello,所以我猜我的脚本在我构建时没有被执行.

I'm not seing hello in the debug console or anything, so I guess my script is not being executed when I build.

有什么想法吗?

(导航器只显示)

GNU gdb 6.3.50-20050815 (Apple version gdb-1708) (Mon Aug  8 20:32:45 UTC 2011)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "x86_64-apple-darwin".sharedlibrary apply-load-rules all
Attaching to process 1955.
**** UNIT TESTS ****
Success: 33 tests passed.
Test time: 0.02 seconds.
********************
[Switching to process 1955 thread 0x13c13]

推荐答案

Xcode: View >导航器报告

报告导航器是聊天气泡";在 Xcode 侧栏中.

The Report Navigator is the "chat bubble" in the Xcode sidebar.

从左侧边栏中选择您最近的 Build.

Select your most recent Build from the sidebar on the left.

然后单击选项卡栏中的All Messages 以查看运行脚本构建阶段的输出.

Then click All Messages in the tab bar to see the output of your Run Script Build Phase.

Xcode 版本变更:

Xcode Version changes:

  • Xcode 12:查看 >导航器报告

Xcode 6:查看 >导航器显示报表导航器

Xcode 5:查看 >导航器显示日志导航器

Xcode 4:查看 >导航器查看日志导航器

这篇关于向 Xcode 添加了运行脚本阶段,但没有任何反应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆