如何将库添加到 xcode

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12191039/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 01:22:21  来源:igfitidea点击:

how to add a library to xcode

c++xcodeframeworks

提问by Taura J Greig

this has been asked plenty of times, but I always find them hard to follow. Its quite simple. How do you add a library and/or framework to xcode and/ or your xcode project. I need all the steps between downloading the library, to typing the #include in the code. But I also need some context behind each step, other wise it won't stick in my mind and I'll back here in a week. Bear in mind I have an limited understanding of the xcode development environment. Thanks in advance.

这已经被问过很多次了,但我总是发现它们很难理解。它很简单。您如何将库和/或框架添加到 xcode 和/或您的 xcode 项目。我需要从下载库到在代码中键入 #include 之间的所有步骤。但我也需要每一步背后的一些背景,否则它不会留在我的脑海中,我会在一周后回到这里。请记住,我对 xcode 开发环境的了解有限。提前致谢。

回答by iPrabu

Follow the screenshots and you are good to go

按照屏幕截图操作即可

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明

enter image description here

在此处输入图片说明