[英]Generic Xcode Archive without libraries
When archiving my Mac OS application, I'm getting a "Generic Xcode Archive". 在归档Mac OS应用程序时,我得到一个“通用Xcode归档文件”。 I have read that this can be solved by setting Skip Install to YES on any static libraries but I have not added any static libraries.
我已经读到,可以通过在任何静态库上将“ 跳过安装 ”设置为YES来解决此问题,但是我没有添加任何静态库。 I have two targets and a few frameworks.
我有两个目标和一些框架。
Does anyone have an idea why this is happening? 有谁知道为什么会这样?
EDIT : 编辑 :
This happens when I add the second target to my "main application" as either a target dependency or in "Copy Files". 当我将第二个目标作为目标依赖项或在“复制文件”中添加到“主应用程序”中时,会发生这种情况。 Does anyone know how to avoid this and still link the two projects?
有谁知道如何避免这种情况,仍然将两个项目联系在一起? The second target is a C command line tool.
第二个目标是C命令行工具。
I ended up compiling the product and adding it to my primary target. 我最终编译了产品并将其添加到我的主要目标中。
It doesn't really solve the exact problem but it is somewhat of a solution. 它并不能真正解决确切的问题,但可以解决。
As pointed out by Peter Hosey this is probably a bug. 正如彼得·霍西(Peter Hosey)指出的,这可能是一个错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.