【问题标题】:Error when compiling Brackets Shell standalone app编译 Brackets Shell 独立应用程序时出错
【发布时间】:2013-07-28 04:45:55
【问题描述】:

我有一个网络应用程序,我正在尝试使用 Brackets-Shell 将其打包成一个独立的应用程序。我按照此处的说明在我的 Mac OSX 系统上设置 Brackets 和 Brackets-Shell:

https://github.com/adobe/brackets-shell/wiki/Building-brackets-shell http://clintberry.com/2013/html5-desktop-apps-with-brackets-shell/

当我运行“grunt full-build”时,进程停止并显示以下错误消息:

Running "stage-mac" task
>> cp: xcodebuild/Release/my_test.app: No such file or directory
Warning: Task "stage-mac" failed. Use --force to continue.

“my_test.app”是我为我正在尝试创建的应用命名的名称。似乎 Grunt 从未创建 my_test.app,但它确实创建了 Brackets.app。我已经按照前面提到的链接中的说明编辑了“brackets-shell”文件夹中的 Gruntfile.js 文件。

有人遇到过这个问题,或者对我如何解决它有任何想法吗?

谢谢。

【问题讨论】:

    标签: adobe-brackets brackets-shell


    【解决方案1】:

    我认为您只需要更改 appshell_config.gypi 中的应用名称以匹配您所做的 Gruntfile.js 更改。执行此操作后,您需要重新运行 grunt setup

    【讨论】:

    • 太棒了!这对我来说是拼图中缺失的一块。非常感谢你的帮助。我现在可以使用 Brackets Shell 打包我的 Web 应用程序,它在我的 Mac 上作为本机应用程序运行。再次感谢。
    • cohoman:太好了!如果您认为答案足够好,也可以随意投票(尽管这不是必需的)。
    • 另外:我在您上面链接到的博客文章中发布了针对这两个更正的 cmets。但它们尚不可见,因为它们仍在等待博客所有者的手动审核...
    猜你喜欢
    • 1970-01-01
    • 2016-03-28
    • 1970-01-01
    • 1970-01-01
    • 2016-02-27
    • 1970-01-01
    • 2012-01-31
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多