无效的包结构 - 应用程序可能只包含一个可执行文件. [英] Invalid bundle structure - The app may contain only one executable file.

查看:23
本文介绍了无效的包结构 - 应用程序可能只包含一个可执行文件.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个问题很相似,如果不完全相同,但没有解决方案.我查看了存档内部,只有一个可执行文件,所以我不知道如何继续.任何想法都非常感谢.

This question is similar if not identical but there is no solution. I've looked inside the archive and there's only one executable, so I am at a loss as to how to proceed. Any ideas greatly appreciates.

推荐答案

事后看来,错误很简单.一个可执行文件被意外添加到项目中.在我的例子中,Develop!.app/Xcode"意味着 Xcode 是可执行文件.检查项目中的文件列表,我发现了一个指向 Xcode 的符号链接.(也许我以某种方式将它从 Dock 中拖了下来,然后放到了项目中).

In hindsight the error is straightforward. An executable file was accidentally added to the project. In my case "Develop!.app/Xcode" meant that Xcode was the executable. Checking the list of files in the project I found a symlink to Xcode. (Maybe I dragged it from the dock somehow and dropped it into the project).

如果您遇到此错误,请查看项目中的文件——某处有一个可执行文件.

If you are getting this error look at the files in your project -- there is an executable there somewhere.

这篇关于无效的包结构 - 应用程序可能只包含一个可执行文件.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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