如何将一个项目添加到另一个项目(Xcode) [英] How to add one project to another(Xcode)

查看:68
本文介绍了如何将一个项目添加到另一个项目(Xcode)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我英语说得很糟,但是希望您能帮助我)有一个问题:有一个项目包含另外两个项目(包含我在主项目中使用的类),当尝试编译时-有很多失败,因为主项目无法从该项目中找到类.我试图从构建阶段添加它们->使用文件链接二进制文件-但这对我没有帮助(帮我解决这个问题!谢谢!

I wright english very bad,but I hope you'l try to help me) There is a problem: have one project that contains another 2 projects(that contains classes I using in main project),when try to compile-there are many fails,because main project couldn't find classes from that projects. I tried to add them from build phases->link binary with files-but it doesn't help me( Help me please with this problem!Thank you!

推荐答案

在Xcode 4中,这是通过Workspaces完成的.这是一个相当大的话题,因此,我只将您链接到Apple的高级文档和一个博客文章,其中逐步介绍了设置过程.

In Xcode 4, this is done through Workspaces. This is a fairly big topic, so I will just link you to Apple's high-level document and a blog post that walks through the process of setting one up.

Apple文档: http://developer.apple.com/library/ios/#featuredarticles/XcodeConcepts/Concept-Workspace.html

演练: http://cocoamanifest.net/article/2011/06/library-management-with-xcode-workspaces.html

祝你好运!

这篇关于如何将一个项目添加到另一个项目(Xcode)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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