xcode OS X 上的 libpng 框架

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

libpng framework on OS X

xcodemacosframeworkspnglibpng

提问by peterb

I'm looking for an Xcode project file that will let me trivially build a dynamic framework for libpng to embed in a Mac OS X application bundle. I found this project for libpng 1.2.8, but I need something reasonably current. I can make the project file myself, but I'd rather not reinvent the wheel if I don't have to. Does this already exist, and if so, where?

我正在寻找一个 Xcode 项目文件,它可以让我轻松地为 libpng 构建一个动态框架,以嵌入到 Mac OS X 应用程序包中。我为 libpng 1.2.8找到了这个项目,但我需要一些当前合理的东西。我可以自己制作项目文件,但如果没有必要,我宁愿不重新发明轮子。这是否已经存在,如果存在,在哪里?

采纳答案by Ned Deily

Check out the KyngChaos UnixImageIO framework. It includes libpng.

查看KyngChaos UnixImageIO 框架。它包括 libpng。

回答by Andrew Cain

If you download the libpng framework code from http://www.libpng.org/pub/png/libpng.htmlit contains an xcode project that builds the framework.

如果您从http://www.libpng.org/pub/png/libpng.html下载 libpng 框架代码,它包含构建框架的 xcode 项目。