如何在 Xcode 4.3.2 上将框架添加到项目中 [英] How add Framework to project on Xcode 4.3.2
问题描述
如何向 XCode 4.3.2 项目添加框架?
How i can add a framework to XCode 4.3.2 project ?
因为 XCode.app 中的 SDK 目录,我无法通过将文件添加到..."来添加框架
Because a SDK directories inside a XCode.app and i can't add a framework by "Add files to ..."
更新:
对于此操作,您可以执行以下步骤:
For this action you can do a this steps:
点击左侧表格中的项目
Click on Project at left table
点击右侧表格中的Build Phases"
Click on "Build Phases" on right table
点击Link Binary With Libraries"
Click on "Link Binary With Libraries"
点击+"
找到需要的框架,点击添加"
Find needing framework and click "Add"
以及您在项目中需要的框架.
And your needing framework in your project.
推荐答案
以下是步骤-
1) 在导航区点击项目
1) Click project in Navigator area
2) 选择目标"标签
3) 点击构建阶段"
4) 选择将二进制文件与库链接"
4) Select 'Link Binary With Libraries'
然后您可以在该区域的底部看到+"按钮.您现在可以添加所需的框架.
Then you can see '+' button at the bottom in the area. You can now add the framework that you want.
这篇关于如何在 Xcode 4.3.2 上将框架添加到项目中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!