
iOS组件化
iOS组件化
sailip
Life is tough, and steps are determined.
职业:iOS开发工程师
Email: liuyongjiesail@icloud.com
个人网站: www.sailip.com
展开
-
iOS组件化:Unable to find a specification for `xxx` depended upon by `xxx`
问题发布验证的时候出现如下错误:找不到某个依赖库解决pod spec lint --sources='https://github.com/CocoaPods/Specs.git,http://gitlab.appshahe.com/component/metaapp-ios-specs.git' --use-libraries --allow-warnings由于发布的库依赖了私有Cocopods库 metaapp-ios-specs ,导致无法找到。验证和发布的时候需使用 --source=原创 2021-02-22 17:08:38 · 4560 阅读 · 0 评论 -
iOS组件化:podspec文件配置指南
## Be sure to run `pod lib lint MXStatService.podspec' to ensure this is a# valid spec before submitting.## Any lines starting with a # are optional, but their use is encouraged# To learn more a...原创 2020-02-26 11:41:29 · 2123 阅读 · 0 评论 -
iOS组件化:坑点
1. 当组件继承于第三方库时需修改导入方式错误引入: #import "AFHTTPSessionManager.h" 正确引入: #import <AFNetworking/AFHTTPSessionManager.h>执行如下命令时会提示 ”xxx.h“ file not foundpod lib lint xx.podspec2. 执行 pod spec lint...原创 2020-02-26 11:21:28 · 1507 阅读 · 0 评论