新增运行脚本阶段,X code,但没有任何反应 [英] Added Run Script phase to Xcode, but nothing happens

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

问题描述

我添加了一个运行脚本生成阶段,我的X code项目,剧本只是

 回声你好

我不是在调试控制台或任何seing招呼,所以我想,当我建立没有被执行我的脚本。

任何想法?

(编辑:领航员只是显示)

  GNU GDB 6.3.50-20050815(苹果版GDB-​​1708)(周一8月8日20点32分45秒UTC 2011)
版权所有2004自由软件基金会
GDB是自由软件,在GNU通用公共许可证,而你
欢迎改变和/或在一定条件下分发副本。
键入显示复​​制看到条件。
绝对没有任何保修GDB。键入显示保修的说明。
这是GDB配置为x86_64的,苹果达尔文.sharedlibrary应用负载规则所有
附加到进程1955年
****单元测试****
成功:33测试通过。
测试时间为0.02秒。
********************
[切换到处理1955螺纹0x13c13]


解决方案

X code 7 视图>航海家GT&;报告显示导航

报告Navigator是在X code侧边栏中的聊天泡沫。

选择您最近从左侧边栏中建设

然后点击所有邮件标签栏看到你运行脚本的输出构建阶段。

原本的X code版本:

X code 6 视图>航海家GT&;报告显示导航

X code 5 视图>航海家GT&;显示日志导航

X $ C $的C 4 视图>航海家GT&;查看日志导航

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

echo "Hello"

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

Any ideas ?

( Edit: The navigator just shows )

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 7: View > Navigators > Show Report Navigator

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

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

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

Legacy Xcode Versions:

Xcode 6: View > Navigators > Show Report Navigator

Xcode 5: View > Navigators > Show Log Navigator

Xcode 4: View > Navigators > View Log Navigator

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

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