Comments (5)
我这边没有相同版本的 Mac 去还原你的环境,在其他条件相同的情况下并没有复现你说的问题,猜想这样的问题可能是多个插件间的方法交换导致的递归循环,麻烦列下你环境下安装的其他 CocoaPods 插件,因为所有的插件都会随着 CocoaPods 命令的调用一起加载到当前的 Ruby 进程,部分插件代码不需要依赖 Podfile 里面的插件声明就已经生效了,比如那些方法交换。
from cocoapods-project-hmap.
调试来看是崩溃在recursively_add_dependent_headers_to_hmap
的过程中,如果pod的依赖树比较深(十几级的深度),执行递归遍历时就会遇到类似问题。
似乎缺乏合适的退出递归条件
from cocoapods-project-hmap.
@blastmann 可以提供一个 demo 吗
from cocoapods-project-hmap.
我有空模拟创建一个看看,但从代码上看最好不要直接递归,我调整了一下代码逻辑,按照以下逻辑可以比较快地跑完:
- 优先一次遍历生成所有的pod hmap generator,通过字典缓存
- 递归合并aggregate target依赖到的pod,当遇到缓存时应该直接退出一次递归
- 生成hmap
from cocoapods-project-hmap.
确实这样处理可以
from cocoapods-project-hmap.
Related Issues (12)
- 使用效果和建议反馈 HOT 8
- Gemfile 安装错误 HOT 1
- 编译失败——'JPush/JPUSHService.h' file not found HOT 2
- 是不是没有考虑到application extension HOT 12
- 引入报错 HOT 3
- 冲突 HOT 5
- 有一些使用的问题 HOT 1
- 动态库使用报错 HOT 2
- hmap使用问题 HOT 1
- 编译提示头文件找不到 HOT 3
- 使用[cocoapods-project-hmap]后编译速度无改善 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cocoapods-project-hmap.