Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用[cocoapods-project-hmap]后编译速度无改善 #12

Open
hnny09 opened this issue Nov 21, 2022 · 3 comments
Open

使用[cocoapods-project-hmap]后编译速度无改善 #12

hnny09 opened this issue Nov 21, 2022 · 3 comments
Labels
question Further information is requested

Comments

@hnny09
Copy link

hnny09 commented Nov 21, 2022

使用[cocoapods-project-hmap]后,看着pod 组件是没有生成hmap文件了,但是单个文件编译时间变长了,作者知道原因吗?

@chenxGen
Copy link
Collaborator

你是 Swift 项目或者开启了 use_frameworks ?pod_target.rb#L68

@hnny09
Copy link
Author

hnny09 commented Nov 21, 2022

你是 Swift 项目或者开启了 use_frameworks ?pod_target.rb#L68

在 pod_target.rb#L68增加日志打印 Pod::UI.message "There is no need to add headers of target defines module to hmap.",发现未打印,oc demo也没有使用use_frameworks,主工程没有增加一句代码,podfile如下

platform :ios, '13.0'
plugin 'cocoapods-project-hmap'

target 'HMapTest' do
pod 'YYKit'
pod 'AFNetworking'
pod 'Bugly'
pod 'CocoaLumberjack'
pod 'FMDB'
pod 'GPUImage'
pod 'IQKeyboardManager'
pod 'MBProgressHUD'
pod 'MJRefresh'
pod 'Masonry'
pod 'Reachability'
pod 'SDWebImage'
pod 'Toast'
end

@chenxGen
Copy link
Collaborator

使用的 pod 版本是?

@chenxGen chenxGen added the question Further information is requested label Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants