如何在新的Xcode 3.2中添加Quartz Core Framework? [英] How to add Quartz Core Framework in new Xcode 3.2?
问题描述
自从新的Xcode 3.2以来,我发现添加Quartz Core Framework非常困难。它不会出现在列表中。以前我只是输入Quartz并弹出一些QuartzCore.framework。 Finder非常糟糕,它在Mac上找不到任何* .framework文件,所以现在最大的问题是:它隐藏在哪里?
Since new Xcode 3.2 I find it very hard to add Quartz Core Framework. It does not appear in the list. Previously I just typed in Quartz and some QuartzCore.framework thing popped up. Finder is so bad it does not find any *.framework file on the mac so now the big question is: Where is it hidden?
推荐答案
在XCode的左侧,有一个名为目标
的文件夹。展开它。双击该文件夹中的目标。在弹出的信息窗格的常规选项卡上,单击窗口左下角的 +
符号。向下滚动并选择 QuartzCore.framework
On the left side of XCode, there is a folder called Targets
. Expand it. Double click on your target in that folder. On the General Tab of the info pane that pops up, click the +
sign on the bottom left corner of the window. Scroll down and select QuartzCore.framework
您还必须确保您的基本SDK是3.x
You will also have to make sure your base SDK is 3.x
更新:使用,将此import语句放在代码中
#import< QuartzCore / CoreAnimation.h>
UPDATE: to use, place this import statement in your code
#import <QuartzCore/CoreAnimation.h>
这篇关于如何在新的Xcode 3.2中添加Quartz Core Framework?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!