Xcode 3.2.6:Cocos2d 框架的问题

发布于 2024-11-07 09:59:17 字数 257 浏览 5 评论 0原文

我正在使用 XCode 3.2.6。我想让我的游戏适用于早期版本 3.1.3,但是当我在 Xcode 中构建项目时,我收到以下错误:

File /Users/.../build/Debug-iphoneos/libcocos2d libraries.a depends on itself.  This target might include its own product.

这是唯一的错误。这个错误是什么意思?这里有什么问题?

I'm using XCode 3.2.6. I'd like to make my game work for earlier version 3.1.3 but when I build the Project in Xcode, I'm getting the following error:

File /Users/.../build/Debug-iphoneos/libcocos2d libraries.a depends on itself.  This target might include its own product.

And it's the only error. What's the meaning of this error? What's the issue here?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

溺孤伤于心 2024-11-14 09:59:17

由于某种原因,你的 Cocos2d 库依赖于它自己。打开 Cocos2d 库目标的属性(右键单击 ->“获取信息”)并查看常规选项卡。有一个名为“DirectDependency”的列表。从该列表中删除 cocos2d 库。

另一个可能发生直接依赖的地方是 Cocos2d 库产品。打开 Cocos2d 库产品的属性(这次是在“产品”下,而不是在“目标”下)。打开目标选项卡并查看目标。如果将 cocos2d 库选中为目标,请取消选中它。

For some reason your Cocos2d library depends on itself. Open the properties for your Cocos2d library target (right click -> "Get Info") and look at the general tab. There's a list called "DirectDependencies". Remove the cocos2d library from that list.

Another place where a direct dependency could occur is the Cocos2d library product. Open the properties for your Cocos2d library product (this time under "Products" not under "Targets"). Open the targets tab and look at the targets. If the cocos2d library is checked as target, uncheck it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文