简体   繁体   English

如何从Xcode项目创建静态库?

[英]How to create a static library from an Xcode project?

I struggling with a problem. 我在努力解决问题。 I am having two apps. 我有两个应用程序。 I want to link/integrate those two apps to my third app. 我想将这两个应用程序链接/集成到我的第三个应用程序。 I need to keep all these three apps class files and other resource files independent. 我需要保持所有这三个应用程序类文件和其他资源文件独立。 Because most of them have the same name. 因为他们中的大多数都有相同的名字。 How can I do this? 我怎样才能做到这一点? I have to convert them to library and integrate them? 我必须将它们转换为库并集成它们吗? If so, how to do that? 如果是这样,怎么办? Is there any other way to do it?.. 还有其他办法吗?..

I am having all these three apps as Xcode projects. 我将这三个应用程序作为Xcode项目。 I want only one app as the result after integrating.. 整合后我只想要一个应用程序作为结果..

I read in few forums that this is possible to do using static libraries. 我在几个论坛上读到这可以使用静态库。 Can you suggest me the best way to create a static library from an existing Xcode project? 您能否建议我从现有Xcode项目创建静态库的最佳方法?

Any help pls.. 任何帮助请..

Thanks.. 谢谢..

您可以使用XCode的重构功能重构您的代码并重命名您的类。

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

相关问题 如何在XCode中创建静态库并从第三方项目引用? - How do you create a static library in XCode and reference from 3rd party project? 如何在不使用静态库的情况下将xcode项目中的资源共享到工作区中的其他xcode项目中? - How to share resources from xcode project into other xcode project within a workspace with out using static library? 如何将Xcode项目转换为静态库或框架? - How to convert an Xcode project into a static library or framework? Xcode如何在另一个项目中添加静态库项目? - Xcode how to add a static library project in another project? 如何将Xcode项目重用到新项目中? 静态库,框架,目标? - How to reuse an Xcode project into a new project? Static library, Framework, Targets? 在Xcode项目中包含静态库 - Including a static library in a Xcode project 如何将XCode性能工具与静态库项目一起使用? - How do I use XCode performance tools with a static library project? 如何在 Xcode 4 中创建一个通用 static 库,直接从其他链接库公开功能 - How do create a universal static library in Xcode 4 that exposes functionality directly from other linked libraries 如何更改静态库的代码.a文件Xcode项目的另一个Xcode项目? - How to change code of static library .a file Xcode Project for another Xcode project? 将 static 库链接到 Xcode 中的 iOS 项目 4 - Linking a static library to an iOS project in Xcode 4
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM