简体   繁体   English

如何在iOS的单个工作区中的多个项目之间添加依赖项

[英]How to add dependency between multiple projects in single workspace in iOS

We have a very big iOS application with multiple features, each feature has their own flow, some feature depends on another feature and a common datasource class to divide between each feature. 我们有一个非常大的iOS应用程序,它具有多个功能,每个功能都有自己的流程,某些功能依赖于另一个功能,并且有一个公共的数据源类来划分每个功能。 Since because of this much code project taking lots of time to compile. 因为有这么多代码项目,所以要花费大量时间进行编译。 Can i divide the project into multiple projects and add into a workspace and compile only those projects in which making change. 我可以将项目分为多个项目并添加到工作区中,并且仅编译其中进行更改的那些项目。 I am not able to find how i can create dependency between projects and how can i access files form one project to another. 我无法找到如何在项目之间创建依赖关系,以及如何从一个项目访问另一个项目的文件。

I don't want to create static library and into another project. 我不想创建静态库并放入另一个项目。 Any suggestion would be helpful. 任何建议都会有所帮助。

I'm actually working on a project in a similar manner. 我实际上正在以类似的方式从事一个项目。

I saw this blogpost from hubspot which has some insights on what you are trying to do. 我从hubspot看到了此博文,它对您要执行的操作有一些见解。 It talks about separating the application 'flows' into cocoapods which can be worked on separately. 它讨论将应用程序“流”分成可分别处理的cocoapod。

http://product.hubspot.com/blog/architecting-a-large-ios-app-with-cocoapods http://product.hubspot.com/blog/architecting-a-large-ios-app-with-cocoapods

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

相关问题 在单个工作区中管理多个项目的依赖关系 - Manage dependencies of multiple projects in a single workspace 如何在iOS中的单个项目副本中管理多个项目? - How to manage multiple projects in single project copy in iOS? 在单个项目中添加多个Xcode(ios)项目 - Adding Multiple Xcode (ios) Projects in a single Project 项目工作区-如何从其他项目ios中导入类 - project workspace-how to import class from other projects ios 如何在一个工作区的iOS和macOS项目中使用Realm - How to use Realm in both iOS and macOS projects of one workspace 如何在工作区中的两个xcode项目之间共享文件? - How to share files between two xcode projects in workspace? 如何将Crittercism集成到具有多个子项目的Xcode工作区中? - How to integrate Crittercism into an Xcode workspace with multiple sub-projects? 如何在 SwiftUI 的多个视图之间添加依赖关系 animation? - How add dependency animation between multiple view in SwiftUI? 具有多个项目的工作区或具有多个目标的一个项目? - Workspace with multiple projects or one project with multiple targets? 如何创建包含2个iOS项目和iOS动态框架项目的Xcode 6工作区? - How to create a Xcode 6 workspace that includes 2 iOS Projects and an iOS Dynamic Framework project?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM