[英]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.