捆绑mac应用程序的问题

时间:2011-03-30 11:35:58

标签: macos bundle intel launch

我正在尝试创建一个mac app捆绑包。它捆绑在一个shell文件中。结构是这样的:

App
    Contents
        Info.plist
            App.command
        MacOS
        Resources
            App.icns

但是,当我双击应用程序包时,它会显示以下提示:

To open classroom.command, you need to install Rosetta. Would you like to install it now?

我的应用包似乎不是基于英特尔的。但它没有意义。 Shell脚本与哪个平台无关?

我通过获取.app根文件夹的信息来验证它。我可以看到“种类”是“应用程序”。而在其他可启动的应用程序中,我看到“Kind”是“Application(Intel)”。我是否从Info.plist中遗漏了一些东西?

1 个答案:

答案 0 :(得分:-1)

Rosetta是一款软件,通过它可以在英特尔Mac上运行PowerPC代码。播种取决于您的proccessor,OS可能需要安装它来运行应用程序。

here is the full explanation