dsappteam / cocoapods-project-hmap Goto Github PK
View Code? Open in Web Editor NEWA cocoapods plugin to improve the compilation speed of the preprocessing stage.
License: MIT License
A cocoapods plugin to improve the compilation speed of the preprocessing stage.
License: MIT License
``platform :ios, '9.0'
plugin 'cocoapods-project-hmap'
turn_prebuilt_hmap_off_for_pod_targets
inhibit_all_warnings!
swift_pod_names = ['Moya', 'ObjectMapper', 'SwiftyJSON', 'PromiseKit', 'Alamofire']
只需要 执行 plugin 'cocoapods-project-hmap' 和 turn_prebuilt_hmap_off_for_pod_targets 这两句代码,然后pod install 就可以了吗
你好, 我在组件库中使用依赖CropViewController, 并且podspec中s.static_framework=true, 然后在podfile中使用use_frameworks!, 引入#import CropViewController 头文件, CropViewController库中会提示重复命名错误. 我在你提供的demo中动态库引入, 然后使用swift依赖头文件也会报错. 除此之外我们在其他库也会有不同的报错. 方便加wx: zydyrxbsbfl804129187 或者qq: 804129187吗
使用 Gemfile
bundle install
无法安装
Gemfile
source 'https://rubygems.org'
gem 'rexml'
gem 'cocoapods'
gem 'cocoapods-binary-cache'
#gem 'cocoapods-project-hmap', :path => "Plugins/cocoapods-project-hmap"
gem 'cocoapods-project-hmap', :git=>'https://github.com/chenxGen/cocoapods-project-hmap.git'
gem 'dingbot'
gem "fastlane"
plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile')
eval_gemfile(plugins_path) if File.exist?(plugins_path)
Run:
❯ bundle install
Fetching https://github.com/chenxGen/cocoapods-project-hmap.git
fatal: Needed a single revision
Revision master does not exist in the repository https://github.com/chenxGen/cocoapods-project-hmap.git. Maybe you misspelled it?
因为工程配置比较复杂 有extension sdk 等 替换hmap 之后还是跑不起来
方便加一下vx asd3306642 qq358689596 学习一下吗
例如我们项目中有一个today widget。执行podinstall之后文件里的一些import直接找不到文件。
RT.
使用[cocoapods-project-hmap]后,看着pod 组件是没有生成hmap文件了,但是单个文件编译时间变长了,作者知道原因吗?
都按着流程处理,不过就是有一个一直编译失败
/Users/hyk/JuYing-iOS/JYVIP/JYVIP-Bridging-Header.h:49:9: error: 'JPush/JPUSHService.h' file not found
#import <JPush/JPUSHService.h>
^
1 error generated.
:0: error: failed to emit precompiled header '/Users/hyk/Library/Developer/Xcode/DerivedData/JYVIP-aqlnptmruajmcxakdgjvjhfgcddk/Build/Intermediates.noindex/PrecompiledHeaders/JYVIP-Bridging-Header-swift_36G6FXDKB0YHP-clang_33A5QUT1UCGWU.pch' for bridging header '/Users/hyk/JuYing-iOS/JYVIP/JYVIP-Bridging-Header.h'
2 errors generated.
PodA 中依赖 PodB
头文件导入方式: #import <PodB/PodB.h>
使用 hmap print PodA.hmap 打印PodA的 hmap :
PodB-iOS/PodB.h: xxxx
PodB.h: xxxx
会多一个-iOS的后缀。
我尝试将头文件引用修改为 #import <PodB-iOS/PodB.h> ,通过cmd+鼠标左键 可以正常跳转到 PodB.h
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.