didi / Hummer

一套移动端高性能高可用的动态化跨端开发框架
https://hummer.didi.cn/
Apache License 2.0
1.31k stars 178 forks source link

fix(iOS): 修复 iOS项目集成时,yoga 库缺少的问题 #417

Closed wymann01 closed 1 year ago

wymann01 commented 1 year ago
Q A
Fixed Issues? NO
Patch: Bug Fix? YES
Major: Breaking Change? NO
Minor: New Feature? NO
Tests Added + Pass? NO

已有的 iOS 项目在使用 cocopods 集成 Hummer 时,default_subspec 为 “Core”, 但是该 subspec 却没有声明依赖 “Yoga”,导致 Xcode 编译不通过。 Xcode 版本:Version 13.3 (13E113) CocoaPods 版本:1.11.3 集成 Hummer 的代码: pod 'Hummer', :git => 'git@github.com:didi/Hummer.git', :branch => 'master'

When integrating Hummer to an existing project, its default_subspec is Core, whose dependencies does not include Yoga, which will cause build fail to compile after pod install success. Xcode Version: 13.3 CocoaPods Version:1.11.3 How I integrated Hummer to my project: pod 'Hummer', :git => 'git@github.com:didi/Hummer.git', :branch => 'master'

yFeii commented 1 year ago

使用 OSSYogaRN subspec