在 Xcode 6.1 上添加外部库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/30701493/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Adding External libraries on the Xcode 6.1
提问by Zack Schulfler
I am newbie of IOS developer. I am facing some problems that is I want to use external libraries on my xcode project. These are libraries that i need to use..
我是 IOS 开发人员的新手。我面临一些问题,即我想在我的 xcode 项目中使用外部库。这些是我需要使用的库。
I would like to know that How to add the external libraries on xcode. I put these libraries to the "include" folder under root folder of project. I facing this error.
我想知道如何在 xcode 上添加外部库。我将这些库放在项目根文件夹下的“include”文件夹中。我面临这个错误。
but library files are already exist in that folder. please help me. Thanks.
但是该文件夹中已经存在库文件。请帮我。谢谢。
回答by Fatti Khan
You have to add the external library in your Build Phases further you can get easy help from this link or reply in comment adding an external library to a project in XCode 4.3
您必须在构建阶段中进一步添加外部库,您可以从此链接获得简单帮助或在评论中回复 将外部库添加到 XCode 4.3 中的项目
Or go the project Choose Build Phases -> click the + sign to add one and then
或者去项目选择构建阶段->点击+号添加一个然后
Or in the above image click the button Add Otherwhere you can tell the further path for the external library or click the link below for more help
或者在上图中单击“添加其他”按钮,您可以在其中指出外部库的进一步路径,或者单击下面的链接以获取更多帮助