简体   繁体   English

如何从我的源代码中创建“静态库”或框架

[英]how to create a “STATIC LIBRARY” or a framework out of my source code

i have developed a complete project for iPad and now i want the same source code to be used in my clients project but i dont want to share my source code with them. 我已经开发了一个完整的iPad项目,现在我希望在我的客户项目中使用相同的源代码,但我不想与他们分享我的源代码。 I found out that we can create some static libraries in order to accomplish this task.Can anyone help me with the process of creating a static library out of the source code which is already available with me. 我发现我们可以创建一些静态库来完成这个任务。任何人都可以帮助我完成从源代码中创建静态库的过程,这些库已经可以使用了。

Here's an answer I posted on external libraries. 这是我在外部库上发布的答案。 Although the question specifically relates to creating a fat binary it has some links to a tutorial site, plus Apple's guidelines. 虽然问题特别涉及创建胖二进制文件,但它有一些指向教程网站的链接,以及Apple的指南。

iPhone external library iPhone外部库

You'll also find tons of related questions on Stack Overflow, for example: 您还可以在Stack Overflow上找到大量相关问题,例如:

How to create a static library from an Xcode project? 如何从Xcode项目创建静态库?

Best thing is to do a search along the lines of "how to create iPhone static library". 最好的事情是按照“如何创建iPhone静态库”的方式进行搜索。 You should find lots of helpful resources. 你应该找到很多有用的资源。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM